Skip to content

Commit 9b2de48

Browse files
committed
ci: add explicit build cli/wasm step
1 parent 30e72f7 commit 9b2de48

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ jobs:
2929
run: cargo doc --all-features --no-deps
3030
env:
3131
RUSTDOCFLAGS: --cfg docsrs
32+
build:
33+
name: Build
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v3
37+
- name: Run cargo build (debug)
38+
run: cargo build --all-targets
39+
- name: Run cargo build (release)
40+
run: cargo build --all-targets --release
41+
- name: Build for WASM (debug)
42+
run: ./build.sh debug
43+
- name: Build for WASM (release)
44+
run: ./build.sh release
3245
test:
3346
name: Test
3447
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)