Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: add TinyGo v0.35.0, drop v0.32.0 #273

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 5 additions & 17 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,7 @@ jobs:
strategy:
matrix:
go-version: ["1.22", "1.23"]
tinygo-version: ["0.32.0", "0.33.0", "0.34.0"]
exclude:
- go-version: "1.23"
tinygo-version: "0.32.0"
tinygo-version: ["0.33.0", "0.34.0", "0.35.0"]
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -122,10 +119,7 @@ jobs:
strategy:
matrix:
go-version: ["1.22", "1.23"]
tinygo-version: ["0.32.0", "0.33.0", "0.34.0"]
exclude:
- go-version: "1.23"
tinygo-version: "0.32.0"
tinygo-version: ["0.33.0", "0.34.0", "0.35.0"]
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -167,20 +161,14 @@ jobs:
GOOS: wasip1
run: go test -v ${{ env.go-modules }}

- name: Test wasm/wasip1 with TinyGo 0.32.0
if: ${{ matrix.tinygo-version == '0.32.0' }}
run: tinygo test -v -target=wasi ${{ env.go-modules }}

- name: Test wasm/wasip1 with TinyGo >= 0.33.0
if: ${{ matrix.tinygo-version != '0.32.0' }}
- name: Test wasm/wasip1 with TinyGo
run: tinygo test -v -target=wasip1 ${{ env.go-modules }}

- name: Test wasm/wasip2 with TinyGo >= 0.33.0
if: ${{ matrix.tinygo-version != '0.32.0' }}
- name: Test wasm/wasip2 with TinyGo
run: tinygo test -v -target=wasip2 ${{ env.go-modules }}

- name: Test generated Go with TinyGo >= 0.34.0
if: ${{ matrix.tinygo-version != '0.32.0' && matrix.tinygo-version != '0.33.0' }}
if: ${{ matrix.tinygo-version != '0.33.0' }}
run: tinygo test -v -target wasip2 ./tests/...

- name: Verify repo is unchanged
Expand Down
Loading