ci: make smoketests more flexible

This commit is contained in:
Ayke van Laethem
2019-07-06 22:00:21 +02:00
committed by Ron Evans
parent fa928e8cd3
commit f0eb4eef5a
2 changed files with 9 additions and 14 deletions
+3 -9
View File
@@ -52,12 +52,6 @@ commands:
key: llvm-source-8-v5
paths:
- llvm-project
smoketest:
steps:
- run: make smoketest
smoketest-no-avr:
steps:
- run: make smoketest-no-avr
test-linux:
steps:
- checkout
@@ -73,7 +67,7 @@ commands:
- run: go install .
- run: go test -v
- run: make gen-device -j4
- smoketest
- run: make smoketest
- save_cache:
key: go-cache-{{ checksum "Gopkg.lock" }}-{{ .Environment.CIRCLE_BUILD_NUM }}
paths:
@@ -155,7 +149,7 @@ commands:
tar -C ~/lib -xf /tmp/tinygo.linux-amd64.tar.gz
ln -s ~/lib/tinygo/bin/tinygo /go/bin/tinygo
tinygo version
- smoketest
- run: make smoketest
build-macos:
steps:
- checkout
@@ -215,7 +209,7 @@ commands:
tar -C /usr/local/opt -xf /tmp/tinygo.darwin-amd64.tar.gz
ln -s /usr/local/opt/tinygo/bin/tinygo /usr/local/bin/tinygo
tinygo version
- smoketest-no-avr
- run: make smoketest AVR=0
jobs: