Skip to content

Commit 0216f34

Browse files
bors[bot]adamgreig
andauthored
Merge #355
355: Build examples in CI as well r=eldruin a=adamgreig Co-authored-by: Adam Greig <adam@adamgreig.com>
2 parents 2b73ce6 + 2bc7ccb commit 0216f34

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)