Skip to content

Commit 0c1529a

Browse files
committed
add make demos to CI
1 parent c969cd2 commit 0c1529a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,4 @@ jobs:
4646
echo 'rustflags = ["-D", "warnings"]' >> .cargo/config.toml
4747
make -j2 setup
4848
make -j2 test
49+
make demos

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,11 @@ $(eval $(call platform_build,msp432,thumbv7em-none-eabi))
242242
$(eval $(call platform_build,clue_nrf52840,thumbv7em-none-eabi))
243243
$(eval $(call platform_flash,clue_nrf52840,thumbv7em-none-eabi))
244244

245+
.PHONY: demos
246+
demos:
247+
$(MAKE) -C demos/embedded_graphics/spin
248+
$(MAKE) -C demos/embedded_graphics/buttons
249+
245250
# clean cannot safely be invoked concurrently with other actions, so we don't
246251
# need to depend on toolchain. We also manually remove the nightly toolchain's
247252
# target directory, in case the user doesn't want to install the nightly

0 commit comments

Comments
 (0)