image: alpine/edge packages: - rustup sources: - https://git.srht.e3t.cc/~starkingdoms/starkingdoms secrets: - 4c3e0693-3aff-45f5-81c9-7bdcf1ab231d - 6aa0cc65-cd00-42eb-958e-482543dc7baf environment: SCCACHE_BUCKET: sccache SCCACHE_ENDPOINT: https://s3.iad.xny.onl SCCACHE_REGION: auto RUSTC_WRAPPER: sccache tasks: - setup: | rustup-init -y echo '. "$HOME/.cargo/env"' > ~/.profile source ~/.profile rustup target add wasm32-unknown-unknown sudo apk add zlib zlib-dev wget sudo wget https://coredoes.dev/sccache -O /usr/local/bin/sccache sudo chmod 0755 /usr/local/bin/sccache - web_client: | source ~/.profile cd starkingdoms cargo xtask unified:web:client