-
Notifications
You must be signed in to change notification settings - Fork 47
33 lines (33 loc) · 1.05 KB
/
ci.yml
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
30
31
32
33
name: CI
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
wasabi_wasm:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: sudo apt install wabt && wasm-validate --version
name: Install WABT
- run: cargo --version; rustc --version; cargo clippy --version
name: Rust version
- run: cargo build
working-directory: crates/wasabi_wasm/
- run: cargo clippy
working-directory: crates/wasabi_wasm/
- run: cargo test -- --nocapture --test-threads=1 --color=always
working-directory: crates/wasabi_wasm/
wasabi:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: sudo apt install wabt && wasm-validate --version
name: Install WABT
- run: cargo --version; rustc --version; cargo clippy --version
name: Rust version
- run: cargo build
working-directory: crates/wasabi/
- run: cargo clippy
working-directory: crates/wasabi/
- run: cargo test -- --nocapture --test-threads=1 --color=always
working-directory: crates/wasabi/