all: support Go 1.12
Этот коммит содержится в:
родитель
b64fc5484a
коммит
cd8471acae
2 изменённых файлов: 23 добавлений и 10 удалений
|
@ -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=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=itsybitsy-m0 examples/blinky1
|
||||||
- run: tinygo build -size short -o test.elf -target=circuitplay-express examples/blinky1
|
- run: tinygo build -size short -o test.elf -target=circuitplay-express examples/blinky1
|
||||||
|
test-linux:
|
||||||
|
parameters:
|
||||||
jobs:
|
llvm:
|
||||||
test-llvm8-go111:
|
type: string
|
||||||
docker:
|
|
||||||
- image: circleci/golang:1.11
|
|
||||||
|
|
||||||
working_directory: /go/src/github.com/tinygo-org/tinygo
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- submodules
|
- submodules
|
||||||
- apt-dependencies:
|
- apt-dependencies:
|
||||||
llvm: "-8"
|
llvm: <<parameters.llvm>>
|
||||||
- install-node
|
- install-node
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
|
@ -95,7 +91,24 @@ jobs:
|
||||||
- ~/.cache/go-build
|
- ~/.cache/go-build
|
||||||
- ~/.cache/tinygo
|
- ~/.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:
|
workflows:
|
||||||
test-all:
|
test-all:
|
||||||
jobs:
|
jobs:
|
||||||
- test-llvm8-go111
|
- test-llvm8-go111
|
||||||
|
- test-llvm8-go112
|
||||||
|
|
2
Gopkg.lock
сгенерированный
2
Gopkg.lock
сгенерированный
|
@ -19,7 +19,7 @@
|
||||||
"go/types/typeutil",
|
"go/types/typeutil",
|
||||||
]
|
]
|
||||||
pruneopts = "UT"
|
pruneopts = "UT"
|
||||||
revision = "3744606dbb67b99c60d3f11cb10bd3f9e6dad472"
|
revision = "8dcc6e70cdefe9a82236b6e195e4f4e2108fcb9f"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "llvm8"
|
branch = "llvm8"
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче