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

ci: Updates TinyGo to 0.33 #2304

Merged
merged 2 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
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
14 changes: 0 additions & 14 deletions .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,20 +152,6 @@ jobs:
# This runs all tests compiled above in sequence. Note: This mounts /tmp to allow t.TempDir() in tests.
run: find . -name "*.test" | xargs -Itestbin docker run --platform linux/${{ matrix.arch }} -v $(pwd)/testbin:/test -v $(pwd)/wazerocli:/wazero -e WAZEROCLI=/wazero --tmpfs /tmp --rm -t wazero:test

test_tinygo:
name: "TinyGo on Ubuntu"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with: # Use version consistent with TinyGo.
go-version: "1.22"
- uses: acifani/setup-tinygo@v2
with:
tinygo-version: "0.32.0"
- run: tinygo build ./cmd/wazero
- run: tinygo build -size short -target pico -stack-size=8kb ./cmd/wazero

# This ensures that internal/integration_test/fuzz is runnable, and is not intended to
# run full-length fuzzing while trying to find low-hanging frontend bugs.
fuzz:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

env:
EMSDK_VERSION: "3.1.40"
TINYGO_VERSION: "0.32.0"
TINYGO_VERSION: "0.33.0"
ZIG_VERSION: "0.11.0"

concurrency:
Expand All @@ -32,9 +32,9 @@ jobs:
name: Build examples
runs-on: ubuntu-22.04
strategy:
matrix: # Use versions consistent with TinyGo.
matrix:
go-version:
- "1.22"
- "1.23"
- "1.21"

steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defaults:

env: # Update this prior to requiring a higher minor version in go.mod
GO_VERSION: "1.23"
TINYGO_VERSION: "0.32.0"
TINYGO_VERSION: "0.33.0"
ZIG_VERSION: "0.11.0"
BINARYEN_VERSION: "116"
STDLIB_TESTS: "internal/integration_test/stdlibs"
Expand Down Expand Up @@ -146,8 +146,8 @@ jobs:

- uses: actions/setup-go@v4
if: steps.binary-cache.outputs.cache-hit != 'true'
with: # Use version consistent with TinyGo.
go-version: "1.22"
with:
go-version: ${{ env.GO_VERSION }}

- name: Build Test Binaries
if: steps.binary-cache.outputs.cache-hit != 'true'
Expand Down
Loading