diff options
author | Ayke van Laethem <[email protected]> | 2023-02-02 18:36:54 +0100 |
---|---|---|
committer | Ayke <[email protected]> | 2023-02-03 07:31:38 -0800 |
commit | 4ce54ede15c1b31c9be85989bf80d019123eef66 (patch) | |
tree | 1f1128460f160fc133a74bd75f607fca8bb753f9 | |
parent | d8b1fac690ab9ba4d57302f676794796f78a27dc (diff) | |
download | tinygo-4ce54ede15c1b31c9be85989bf80d019123eef66.tar.gz tinygo-4ce54ede15c1b31c9be85989bf80d019123eef66.zip |
ci: switch to Go 1.20
-rw-r--r-- | .circleci/config.yml | 8 | ||||
-rw-r--r-- | .github/workflows/build-macos.yml | 4 | ||||
-rw-r--r-- | .github/workflows/linux.yml | 10 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 8 | ||||
-rw-r--r-- | Dockerfile | 2 |
5 files changed, 12 insertions, 20 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 95e2a491b..7a7e17d5a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -105,13 +105,6 @@ jobs: - test-linux: llvm: "14" resource_class: large - test-llvm15-go120: - docker: - - image: golang:1.20-rc-buster - steps: - - test-linux: - llvm: "15" - resource_class: large workflows: test-all: @@ -119,4 +112,3 @@ workflows: # This tests our lowest supported versions of Go and LLVM, to make sure at # least the smoke tests still pass. - test-llvm14-go118 - - test-llvm15-go120 diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 0359a9f31..e17dcfa04 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -27,7 +27,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.20' cache: true - name: Cache LLVM source uses: actions/cache@v3 @@ -107,7 +107,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.20' cache: true - name: Build TinyGo run: go install diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 7ead14904..4de694b2c 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -18,7 +18,7 @@ jobs: # statically linked binary. runs-on: ubuntu-latest container: - image: golang:1.19-alpine + image: golang:1.20-alpine steps: - name: Install apk dependencies # tar: needed for actions/cache@v3 @@ -118,7 +118,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.20' cache: true - name: Install wasmtime run: | @@ -158,7 +158,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.20' cache: true - name: Install Node.js uses: actions/setup-node@v3 @@ -252,7 +252,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.20' cache: true - name: Cache LLVM source uses: actions/cache@v3 @@ -352,7 +352,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.20' cache: true - name: Cache LLVM source uses: actions/cache@v3 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 6e493d89a..babb3de2f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -29,7 +29,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.20' cache: true - name: Cache LLVM source uses: actions/cache@v3 @@ -112,7 +112,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.20' cache: true - name: Download TinyGo build uses: actions/download-artifact@v2 @@ -136,7 +136,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.20' cache: true - name: Download TinyGo build uses: actions/download-artifact@v2 @@ -166,7 +166,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.20' cache: true - name: Download TinyGo build uses: actions/download-artifact@v2 diff --git a/Dockerfile b/Dockerfile index 2de6f7310..e4c2e67f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # tinygo-llvm stage obtains the llvm source for TinyGo -FROM golang:1.19 AS tinygo-llvm +FROM golang:1.20 AS tinygo-llvm RUN apt-get update && \ apt-get install -y apt-utils make cmake clang-11 ninja-build |