~starkingdoms/starkingdoms

ref: ea753e819cccf573e572932fb801f9e3e6fb20d4 starkingdoms/.build.yml -rw-r--r-- 740 bytes
ea753e81 — core chore: continue ci/cd work 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
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