Skip to content

Commit 1e6c14b

Browse files
aykevldeadprogram
authored andcommitted
ci: build TinyGo using Go 1.19
We've supported Go 1.19 for a while now, let's actually use it in CI.
1 parent 25f6be1 commit 1e6c14b

File tree

5 files changed

+9
-19
lines changed

5 files changed

+9
-19
lines changed

.circleci/config.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -118,20 +118,10 @@ jobs:
118118
steps:
119119
- test-linux:
120120
llvm: "14"
121-
test-llvm14-go119:
122-
docker:
123-
- image: golang:1.19beta1-buster
124-
steps:
125-
- test-linux:
126-
llvm: "14"
127-
fmt-check: false
128121

129122
workflows:
130123
test-all:
131124
jobs:
132125
# This tests our lowest supported versions of Go and LLVM, to make sure at
133126
# least the smoke tests still pass.
134127
- test-llvm14-go118
135-
# This tests a beta version of Go. It should be removed once regular
136-
# release builds are built using this version.
137-
- test-llvm14-go119

.github/workflows/build-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Install Go
3535
uses: actions/setup-go@v3
3636
with:
37-
go-version: '1.18'
37+
go-version: '1.19'
3838
cache: true
3939
- name: Cache LLVM source
4040
uses: actions/cache@v3
@@ -114,7 +114,7 @@ jobs:
114114
- name: Install Go
115115
uses: actions/setup-go@v3
116116
with:
117-
go-version: '1.18'
117+
go-version: '1.19'
118118
cache: true
119119
- name: Build TinyGo
120120
run: go install

.github/workflows/linux.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
# statically linked binary.
1919
runs-on: ubuntu-latest
2020
container:
21-
image: golang:1.18-alpine
21+
image: golang:1.19-alpine
2222
steps:
2323
- name: Install apk dependencies
2424
# tar: needed for actions/cache@v3
@@ -118,7 +118,7 @@ jobs:
118118
- name: Install Go
119119
uses: actions/setup-go@v3
120120
with:
121-
go-version: '1.18'
121+
go-version: '1.19'
122122
cache: true
123123
- name: Install wasmtime
124124
run: |
@@ -171,7 +171,7 @@ jobs:
171171
- name: Install Go
172172
uses: actions/setup-go@v3
173173
with:
174-
go-version: '1.18'
174+
go-version: '1.19'
175175
cache: true
176176
- name: Install Node.js
177177
uses: actions/setup-node@v2
@@ -271,7 +271,7 @@ jobs:
271271
- name: Install Go
272272
uses: actions/setup-go@v3
273273
with:
274-
go-version: '1.18'
274+
go-version: '1.19'
275275
cache: true
276276
- name: Cache LLVM source
277277
uses: actions/cache@v3
@@ -371,7 +371,7 @@ jobs:
371371
- name: Install Go
372372
uses: actions/setup-go@v3
373373
with:
374-
go-version: '1.18'
374+
go-version: '1.19'
375375
cache: true
376376
- name: Cache LLVM source
377377
uses: actions/cache@v3

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install Go
3030
uses: actions/setup-go@v3
3131
with:
32-
go-version: '1.18'
32+
go-version: '1.19'
3333
cache: true
3434
- name: Cache LLVM source
3535
uses: actions/cache@v3

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# tinygo-llvm stage obtains the llvm source for TinyGo
2-
FROM golang:1.18 AS tinygo-llvm
2+
FROM golang:1.19 AS tinygo-llvm
33

44
RUN apt-get update && \
55
apt-get install -y apt-utils make cmake clang-11 binutils-avr gcc-avr avr-libc ninja-build

0 commit comments

Comments
 (0)