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.
Этот коммит содержится в:
родитель
ceece08959
коммит
a4642ddf59
1 изменённых файлов: 11 добавлений и 1 удалений
12
Makefile
12
Makefile
|
@ -175,8 +175,18 @@ smoketest:
|
||||||
@$(MD5SUM) test.hex
|
@$(MD5SUM) test.hex
|
||||||
$(TINYGO) build -size short -o test.hex -target=pca10040 examples/test
|
$(TINYGO) build -size short -o test.hex -target=pca10040 examples/test
|
||||||
@$(MD5SUM) test.hex
|
@$(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
|
$(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
|
$(TINYGO) build -size short -o test.hex -target=microbit examples/echo
|
||||||
@$(MD5SUM) test.hex
|
@$(MD5SUM) test.hex
|
||||||
$(TINYGO) build -size short -o test.hex -target=nrf52840-mdk examples/blinky1
|
$(TINYGO) build -size short -o test.hex -target=nrf52840-mdk examples/blinky1
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче