Skip to content

Commit 2bc7ccb

Browse files
committed
Build examples in CI as well
1 parent 2b73ce6 commit 2bc7ccb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ jobs:
3030
target: thumbv7em-none-eabihf
3131
- name: Build chapter
3232
working-directory: src/${{ matrix.chapter }}
33-
run: cargo build
33+
run: cargo build --target thumbv7em-none-eabihf
34+
- name: Build chapter examples
35+
working-directory: src/${{ matrix.chapter }}
36+
run: cargo build --target thumbv7em-none-eabihf --examples
3437

3538
# Check a build succeeds for docs.
3639
build-doc:

0 commit comments

Comments
 (0)