ci: Updates TinyGo to 0.33 (#2304)
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
This commit is contained in:
14
.github/workflows/commit.yaml
vendored
14
.github/workflows/commit.yaml
vendored
@@ -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:
|
||||
|
||||
6
.github/workflows/examples.yaml
vendored
6
.github/workflows/examples.yaml
vendored
@@ -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:
|
||||
|
||||
6
.github/workflows/integration.yaml
vendored
6
.github/workflows/integration.yaml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user