File tree Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Expand file tree Collapse file tree 2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,6 @@ commands:
52
52
key : llvm-source-8-v5
53
53
paths :
54
54
- llvm-project
55
- smoketest :
56
- steps :
57
- - run : make smoketest
58
- smoketest-no-avr :
59
- steps :
60
- - run : make smoketest-no-avr
61
55
test-linux :
62
56
steps :
63
57
- checkout
@@ -73,7 +67,7 @@ commands:
73
67
- run : go install .
74
68
- run : go test -v
75
69
- run : make gen-device -j4
76
- - smoketest
70
+ - run : make smoketest
77
71
- save_cache :
78
72
key : go-cache-{{ checksum "Gopkg.lock" }}-{{ .Environment.CIRCLE_BUILD_NUM }}
79
73
paths :
@@ -155,7 +149,7 @@ commands:
155
149
tar -C ~/lib -xf /tmp/tinygo.linux-amd64.tar.gz
156
150
ln -s ~/lib/tinygo/bin/tinygo /go/bin/tinygo
157
151
tinygo version
158
- - smoketest
152
+ - run : make smoketest
159
153
build-macos :
160
154
steps :
161
155
- checkout
@@ -215,7 +209,7 @@ commands:
215
209
tar -C /usr/local/opt -xf /tmp/tinygo.darwin-amd64.tar.gz
216
210
ln -s /usr/local/opt/tinygo/bin/tinygo /usr/local/bin/tinygo
217
211
tinygo version
218
- - smoketest-no-avr
212
+ - run : make smoketest AVR=0
219
213
220
214
221
215
jobs :
Original file line number Diff line number Diff line change 87
87
tinygo-test :
88
88
cd tests/tinygotest && tinygo test
89
89
90
- .PHONY : smoketest smoketest-no-avr
91
- smoketest : smoketest-no-avr
92
- tinygo build -size short -o test.elf -target=arduino examples/blinky1
93
- tinygo build -size short -o test.elf -target=digispark examples/blinky1
94
- smoketest-no-avr :
90
+ .PHONY : smoketest
91
+ smoketest :
95
92
# test all examples
96
93
tinygo build -size short -o test.elf -target=pca10040 examples/blinky1
97
94
tinygo build -size short -o test.elf -target=pca10040 examples/adc
@@ -123,6 +120,10 @@ smoketest-no-avr:
123
120
tinygo build -size short -o test.elf -target=stm32f4disco examples/blinky1
124
121
tinygo build -size short -o test.elf -target=stm32f4disco examples/blinky2
125
122
tinygo build -size short -o test.elf -target=circuitplay-express examples/i2s
123
+ ifneq ($(AVR ) , 0)
124
+ tinygo build -size short -o test.elf -target=arduino examples/blinky1
125
+ tinygo build -size short -o test.elf -target=digispark examples/blinky1
126
+ endif
126
127
tinygo build -o wasm.wasm -target=wasm examples/wasm/export
127
128
tinygo build -o wasm.wasm -target=wasm examples/wasm/main
128
129
You can’t perform that action at this time.
0 commit comments