ci: switch to Go 1.22
Этот коммит содержится в:
родитель
c47f52b546
коммит
5baee9a8ee
5 изменённых файлов: 14 добавлений и 23 удалений
|
@ -105,16 +105,9 @@ jobs:
|
|||
- test-linux:
|
||||
llvm: "15"
|
||||
resource_class: large
|
||||
test-llvm16-go122:
|
||||
test-llvm17-go122:
|
||||
docker:
|
||||
- image: golang:1.22-rc-bullseye
|
||||
steps:
|
||||
- test-linux:
|
||||
llvm: "16"
|
||||
resource_class: large
|
||||
test-llvm17-go121:
|
||||
docker:
|
||||
- image: golang:1.21-bullseye
|
||||
- image: golang:1.22-bullseye
|
||||
steps:
|
||||
- test-linux:
|
||||
llvm: "17"
|
||||
|
@ -126,7 +119,5 @@ workflows:
|
|||
# This tests our lowest supported versions of Go and LLVM, to make sure at
|
||||
# least the smoke tests still pass.
|
||||
- test-llvm15-go118
|
||||
# This tests the upcoming Go 1.22 support.
|
||||
- test-llvm16-go122
|
||||
# This tests LLVM 17 support when linking against system libraries.
|
||||
- test-llvm17-go121
|
||||
- test-llvm17-go122
|
||||
|
|
4
.github/workflows/build-macos.yml
предоставленный
4
.github/workflows/build-macos.yml
предоставленный
|
@ -37,7 +37,7 @@ jobs:
|
|||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21'
|
||||
go-version: '1.22'
|
||||
cache: true
|
||||
- name: Restore LLVM source cache
|
||||
uses: actions/cache/restore@v4
|
||||
|
@ -145,7 +145,7 @@ jobs:
|
|||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21'
|
||||
go-version: '1.22'
|
||||
cache: true
|
||||
- name: Build TinyGo (LLVM ${{ matrix.version }})
|
||||
run: go install -tags=llvm${{ matrix.version }}
|
||||
|
|
8
.github/workflows/linux.yml
предоставленный
8
.github/workflows/linux.yml
предоставленный
|
@ -18,7 +18,7 @@ jobs:
|
|||
# statically linked binary.
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: golang:1.21-alpine
|
||||
image: golang:1.22-alpine
|
||||
steps:
|
||||
- name: Install apk dependencies
|
||||
# tar: needed for actions/cache@v4
|
||||
|
@ -135,7 +135,7 @@ jobs:
|
|||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21'
|
||||
go-version: '1.22'
|
||||
cache: true
|
||||
- name: Install wasmtime
|
||||
run: |
|
||||
|
@ -178,7 +178,7 @@ jobs:
|
|||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21'
|
||||
go-version: '1.22'
|
||||
cache: true
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v4
|
||||
|
@ -301,7 +301,7 @@ jobs:
|
|||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21'
|
||||
go-version: '1.22'
|
||||
cache: true
|
||||
- name: Restore LLVM source cache
|
||||
uses: actions/cache/restore@v4
|
||||
|
|
8
.github/workflows/windows.yml
предоставленный
8
.github/workflows/windows.yml
предоставленный
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21'
|
||||
go-version: '1.22'
|
||||
cache: true
|
||||
- name: Restore cached LLVM source
|
||||
uses: actions/cache/restore@v4
|
||||
|
@ -143,7 +143,7 @@ jobs:
|
|||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21'
|
||||
go-version: '1.22'
|
||||
cache: true
|
||||
- name: Download TinyGo build
|
||||
uses: actions/download-artifact@v4
|
||||
|
@ -173,7 +173,7 @@ jobs:
|
|||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21'
|
||||
go-version: '1.22'
|
||||
cache: true
|
||||
- name: Download TinyGo build
|
||||
uses: actions/download-artifact@v4
|
||||
|
@ -209,7 +209,7 @@ jobs:
|
|||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21'
|
||||
go-version: '1.22'
|
||||
cache: true
|
||||
- name: Download TinyGo build
|
||||
uses: actions/download-artifact@v4
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# tinygo-llvm stage obtains the llvm source for TinyGo
|
||||
FROM golang:1.21 AS tinygo-llvm
|
||||
FROM golang:1.22 AS tinygo-llvm
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y apt-utils make cmake clang-15 ninja-build && \
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче