~starkingdoms/starkingdoms

ref: d5ae439e152b678cacc34b43f9090e33c0b9cb20 starkingdoms/.build.yml -rw-r--r-- 1004 bytes
d5ae439e — core fix: actually install the cli (2) 16 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
  BINSTALL_DISABLE_TELEMETRY: true
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 binaryen
      sudo wget https://coredoes.dev/sccache -O /usr/local/bin/sccache
      sudo chmod 0755 /usr/local/bin/sccache
      curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
      cargo binstall wasm-bindgen-cli --version 0.2.118 --no-confirm
  - web_client: |
      source ~/.profile
      cd starkingdoms
      cargo xtask unified:web:client