arch: null artifacts: - ./LittleTown-amd64-musl - ./LittleTown.exe environment: BUILD_SUBMITTER: git.sr.ht GIT_REF: refs/tags/v0.2.3-r4 image: alpine/edge packages: - mingw-w64-gcc - wget - ffmpeg - clang - alsa-lib-dev - protoc repositories: {} secrets: [] shell: false sources: - http://git.hut.ccw.icu/~comcloudway/little_town#c93244ca04385434212f7a452ee04ddb6c7450fe tasks: - setup: | curl https://sh.rustup.rs -sSf | sh -s -- -y source $HOME/.cargo/env rustup toolchain install nightly rustup default nightly - fetch-assets: | cd little_town ./fetch-assets.sh - build-amd64-musl: | source $HOME/.cargo/env cd little_town cargo build --release --target x86_64-unknown-linux-musl mv target/x86_64-unknown-linux-musl/release/little_town ../LittleTown-amd64-musl - build-amd64-win: | source $HOME/.cargo/env cd little_town rustup target add x86_64-pc-windows-gnu cargo build --release --target x86_64-pc-windows-gnu mv target/x86_64-pc-windows-gnu/release/little_town.exe ../LittleTown.exe triggers: [] oauth: ""