-
Notifications
You must be signed in to change notification settings - Fork 64
31 lines (27 loc) · 747 Bytes
/
ci.yml
File metadata and controls
31 lines (27 loc) · 747 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
28
29
30
31
name: Rust
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: build
run: cargo build
- name: build with cwt
run: cargo build --features="cwt"
- name: pure rust implementations
run: cargo build --no-default-features --features="pure-rust"
- name: wasm32-freestanding build
run: |
rustup target add wasm32-unknown-unknown
cargo build --verbose --target=wasm32-unknown-unknown
- name: wasi32-wasi build
run: |
rustup target add wasm32-wasip1
cargo build --verbose --target=wasm32-wasip1