~starkingdoms/starkingdoms

91bd5bd18538b8cdb88fbf475555590cf3c62f6d — core 21 days ago 2508189
improved ci/cd
1 files changed, 10 insertions(+), 1 deletions(-)

M .build.yml
M .build.yml => .build.yml +10 -1
@@ 1,18 1,27 @@
image: alpine/edge
packages:
  - cargo
  - rustup
sources:
  - https://git.srht.e3t.cc/~starkingdoms/starkingdoms
tasks:
  - install_toolchain: |
      rustup-init -y
      echo '. "$HOME/.cargo/env"' > ~/.profile
      source ~/.profile
      rustup target add wasm32-unknown-unknown
  - native_server: |
      source ~/.profile
      cd starkingdoms
      cargo clippy --package starkingdoms -F native -F server
  - native_client: |
      source ~/.profile
      cd starkingdoms
      cargo clippy --package starkingdoms -F native -F client
  - native_ls: |
      source ~/.profile
      cd starkingdoms
      cargo clippy --package starkingdoms -F native -F server -F client
  - web_client: |
      source ~/.profile
      cd starkingdoms
      cargo clippy --target wasm32-unknown-unknown --package starkingdoms -F wasm -F client
\ No newline at end of file