Skip to content

Commit 179c50a

Browse files
committed
all: support Go 1.12
1 parent 4f90049 commit 179c50a

File tree

2 files changed

+23
-10
lines changed

2 files changed

+23
-10
lines changed

.circleci/config.yml

+22-9
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,15 @@ commands:
6767
- run: tinygo build -size short -o test.elf -target=pca10056 examples/blinky2
6868
- run: tinygo build -size short -o test.elf -target=itsybitsy-m0 examples/blinky1
6969
- run: tinygo build -size short -o test.elf -target=circuitplay-express examples/blinky1
70-
71-
72-
jobs:
73-
test-llvm8-go111:
74-
docker:
75-
- image: circleci/golang:1.11
76-
77-
working_directory: /go/src/github.com/tinygo-org/tinygo
70+
test-linux:
71+
parameters:
72+
llvm:
73+
type: string
7874
steps:
7975
- checkout
8076
- submodules
8177
- apt-dependencies:
82-
llvm: "-8"
78+
llvm: <<parameters.llvm>>
8379
- install-node
8480
- restore_cache:
8581
keys:
@@ -96,7 +92,24 @@ jobs:
9692
- ~/.cache/go-build
9793
- ~/.cache/tinygo
9894

95+
jobs:
96+
test-llvm8-go111:
97+
docker:
98+
- image: circleci/golang:1.11
99+
working_directory: /go/src/github.com/tinygo-org/tinygo
100+
steps:
101+
- test-linux:
102+
llvm: "-8"
103+
test-llvm8-go112:
104+
docker:
105+
- image: circleci/golang:1.12
106+
working_directory: /go/src/github.com/tinygo-org/tinygo
107+
steps:
108+
- test-linux:
109+
llvm: "-8"
110+
99111
workflows:
100112
test-all:
101113
jobs:
102114
- test-llvm8-go111
115+
- test-llvm8-go112

Gopkg.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)