From a4642ddf594f2c3759dcd613f5073aa8c2865968 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Tue, 29 Oct 2019 12:56:09 +0100 Subject: [PATCH] Makefile: add simulated boards to smoke tests One board (pca10040) was already tested. To make sure stuff doesn't break in the future, test all the other boards too. --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6bf41faf..eb6da113 100644 --- a/Makefile +++ b/Makefile @@ -175,8 +175,18 @@ smoketest: @$(MD5SUM) test.hex $(TINYGO) build -size short -o test.hex -target=pca10040 examples/test @$(MD5SUM) test.hex - # test all targets/boards + # test simulated boards on play.tinygo.org + $(TINYGO) build -o test.wasm -tags=arduino examples/blinky1 + @$(MD5SUM) test.wasm + $(TINYGO) build -o test.wasm -tags=hifive1b examples/blinky1 + @$(MD5SUM) test.wasm + $(TINYGO) build -o test.wasm -tags=reelboard examples/blinky1 + @$(MD5SUM) test.wasm $(TINYGO) build -o test.wasm -tags=pca10040 examples/blinky2 + @$(MD5SUM) test.wasm + $(TINYGO) build -o test.wasm -tags=pca10056 examples/blinky2 + @$(MD5SUM) test.wasm + # test all targets/boards $(TINYGO) build -size short -o test.hex -target=microbit examples/echo @$(MD5SUM) test.hex $(TINYGO) build -size short -o test.hex -target=nrf52840-mdk examples/blinky1