Build all packages in GH workflow

Signed-off-by: Walker Crouse <Walker.Crouse@bjss.com>
This commit is contained in:
Walker Crouse 2021-08-20 15:09:29 -04:00
parent c0dbc9f22d
commit 717c910c57
2 changed files with 9 additions and 2 deletions

View File

@ -17,7 +17,7 @@ jobs:
- name: Check formatting
run: ./scripts/checkfmt.sh
- name: Build
run: cargo build --verbose
run: ./scripts/buildall.sh
- name: Run tests
run: cargo test --verbose
@ -30,6 +30,6 @@ jobs:
- name: Check formatting
run: ./scripts/checkfmt.sh
- name: Build
run: cargo build --verbose
run: ./scripts/buildall.sh
- name: Run tests
run: cargo test --verbose

7
scripts/buildall.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
cargo build --workspace --verbose
(
cd examples
cargo build --workspace --verbose
)