From dbc4b62466477a7f3ac6537ce06ecfe66d7861fa Mon Sep 17 00:00:00 2001 From: Takeshi Yoneda Date: Tue, 20 Aug 2024 08:55:34 -0700 Subject: [PATCH] ci: Updates TinyGo to 0.33 (#2304) Signed-off-by: Takeshi Yoneda --- .github/workflows/commit.yaml | 14 -------------- .github/workflows/examples.yaml | 6 +++--- .github/workflows/integration.yaml | 6 +++--- 3 files changed, 6 insertions(+), 20 deletions(-) diff --git a/.github/workflows/commit.yaml b/.github/workflows/commit.yaml index 01cd1a3f12..fc3027c726 100644 --- a/.github/workflows/commit.yaml +++ b/.github/workflows/commit.yaml @@ -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: diff --git a/.github/workflows/examples.yaml b/.github/workflows/examples.yaml index 40b6729d4a..b47a1885f5 100644 --- a/.github/workflows/examples.yaml +++ b/.github/workflows/examples.yaml @@ -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: @@ -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: diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 7b3fd6fa48..95719ade48 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -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" @@ -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'