Browse Source

all: support Go 1.12

pull/251/head
Ayke van Laethem 6 years ago
committed by Ron Evans
parent
commit
cd8471acae
  1. 31
      .circleci/config.yml
  2. 2
      Gopkg.lock

31
.circleci/config.yml

@ -66,19 +66,15 @@ commands:
- run: tinygo build -size short -o test.elf -target=pca10056 examples/blinky2
- run: tinygo build -size short -o test.elf -target=itsybitsy-m0 examples/blinky1
- run: tinygo build -size short -o test.elf -target=circuitplay-express examples/blinky1
jobs:
test-llvm8-go111:
docker:
- image: circleci/golang:1.11
working_directory: /go/src/github.com/tinygo-org/tinygo
test-linux:
parameters:
llvm:
type: string
steps:
- checkout
- submodules
- apt-dependencies:
llvm: "-8"
llvm: <<parameters.llvm>>
- install-node
- restore_cache:
keys:
@ -95,7 +91,24 @@ jobs:
- ~/.cache/go-build
- ~/.cache/tinygo
jobs:
test-llvm8-go111:
docker:
- image: circleci/golang:1.11
working_directory: /go/src/github.com/tinygo-org/tinygo
steps:
- test-linux:
llvm: "-8"
test-llvm8-go112:
docker:
- image: circleci/golang:1.12
working_directory: /go/src/github.com/tinygo-org/tinygo
steps:
- test-linux:
llvm: "-8"
workflows:
test-all:
jobs:
- test-llvm8-go111
- test-llvm8-go112

2
Gopkg.lock

@ -19,7 +19,7 @@
"go/types/typeutil",
]
pruneopts = "UT"
revision = "3744606dbb67b99c60d3f11cb10bd3f9e6dad472"
revision = "8dcc6e70cdefe9a82236b6e195e4f4e2108fcb9f"
[[projects]]
branch = "llvm8"

Loading…
Cancel
Save