ci: build with Go 1.13 on Windows

The default Go version is 1.12. Because Go 1.13 introduced language
changes (improved numeric constants), TinyGo compiled with Go 1.12
cannot handle Go 1.13 code such as the Go 1.13 standard library.

Use Go 1.13 to build TinyGo on Azure Pipelines to fix this.
This commit is contained in:
Ayke van Laethem
2019-11-25 10:39:16 +01:00
committed by Ron Evans
parent 4be80e0372
commit 86f48da594
2 changed files with 7 additions and 3 deletions
+1
View File
@@ -146,6 +146,7 @@ tinygo-test:
.PHONY: smoketest
smoketest:
$(TINYGO) version
# test all examples
$(TINYGO) build -size short -o test.hex -target=pca10040 examples/blinky1
@$(MD5SUM) test.hex