-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.build.yml
More file actions
27 lines (27 loc) · 761 Bytes
/
.build.yml
File metadata and controls
27 lines (27 loc) · 761 Bytes
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
image: alpine/edge
# We use rustup and manually install Rust for each step, b/c the rust
# package doesn't update that quickly
packages:
- rustup
- just
sources:
- [email protected]:~jangermad/magus
secrets:
- b3a02cf9-8da6-4caa-a4c9-833027656007
tasks:
- run-rustup: |
rustup-init --profile minimal --default-toolchain stable -y
. "$HOME/.cargo/env"
rustup target add wasm32-unknown-unknown
cat magus/.buildenv | tee -a ~/.buildenv
- install-deps: |
curl -LsSf https://get.nexte.st/latest/linux-musl | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
- run-tests: |
cd magus
just test-ci
- build-wasm: |
cd magus
just build-wasm-ci
- readme-example: |
cd magus
cargo run --example readme