aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2019-05-23 20:34:58 +0200
committerRon Evans <[email protected]>2019-05-24 13:51:20 +0200
commit87ac804642d0ac61cc7fe55e6b3126425e523ae3 (patch)
tree0a2bc729d48684125cc308d59eecdb0cd997cee3
parentedcb11f9f6c17a0ecf278264677986006fa719c3 (diff)
downloadtinygo-87ac804642d0ac61cc7fe55e6b3126425e523ae3.tar.gz
tinygo-87ac804642d0ac61cc7fe55e6b3126425e523ae3.zip
ci: make sure that all examples are included in the smoketests
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e1c7bfbf0..fec013ebe 100644
--- a/Makefile
+++ b/Makefile
@@ -89,10 +89,22 @@ smoketest: smoketest-no-avr
tinygo build -size short -o test.elf -target=arduino examples/blinky1
tinygo build -size short -o test.elf -target=digispark examples/blinky1
smoketest-no-avr:
+ # test all examples
tinygo build -size short -o test.elf -target=pca10040 examples/blinky1
+ tinygo build -size short -o test.elf -target=pca10040 examples/adc
+ tinygo build -size short -o test.elf -target=pca10040 examples/blinkm
tinygo build -size short -o test.elf -target=pca10040 examples/blinky2
- tinygo build -o test.elf examples/blinky2 # TODO: re-enable -size flag with MachO support
+ tinygo build -size short -o test.elf -target=pca10040 examples/button
+ tinygo build -size short -o test.elf -target=pca10040 examples/button2
+ tinygo build -size short -o test.elf -target=pca10040 examples/echo
+ tinygo build -size short -o test.elf -target=circuitplay-express examples/i2s
+ tinygo build -size short -o test.elf -target=pca10040 examples/mcp3008
+ tinygo build -size short -o test.elf -target=microbit examples/microbit-blink
+ tinygo build -size short -o test.elf -target=pca10040 examples/pwm
+ tinygo build -size short -o test.elf -target=pca10040 examples/serial
tinygo build -size short -o test.elf -target=pca10040 examples/test
+ # test all targets/boards
+ tinygo build -o test.elf examples/blinky2 # TODO: re-enable -size flag with MachO support
tinygo build -size short -o test.elf -target=microbit examples/echo
tinygo build -size short -o test.elf -target=nrf52840-mdk examples/blinky1
tinygo build -size short -o test.elf -target=pca10031 examples/blinky1