From 67f00e9bd503d3432b62dda68ad90cf3e72f7a20 Mon Sep 17 00:00:00 2001 From: Li Jie Date: Sat, 3 Oct 2026 09:36:54 +0800 Subject: [PATCH] ci: install WAMR for WASI standard-library jobs --- .github/workflows/std.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/std.yml b/.github/workflows/std.yml index 9e38b72..e900a3a 100644 --- a/.github/workflows/std.yml +++ b/.github/workflows/std.yml @@ -295,6 +295,16 @@ jobs: with: version: '39.0.1' - uses: ./.github/actions/setup-go + - name: Restore WAMR cache + if: ${{ matrix.profile == 'W32-WASI' }} + uses: ./.github/actions/setup-llgo-cache + with: + build-cache-mode: 'off' + crosscompile-cache-mode: 'off' + wamr-cache-mode: readwrite + - name: Install WAMR for W32 + if: ${{ matrix.profile == 'W32-WASI' }} + run: bash dev/build_iwasm.sh - name: Check acceptance accounting run: go test ./dev/wasmstdlib -count=1 - name: Build LLGo @@ -414,6 +424,14 @@ jobs: with: version: '39.0.1' - uses: ./.github/actions/setup-go + - name: Restore WAMR cache + uses: ./.github/actions/setup-llgo-cache + with: + build-cache-mode: 'off' + crosscompile-cache-mode: 'off' + wamr-cache-mode: readwrite + - name: Install WAMR for W32 + run: bash dev/build_iwasm.sh - name: Build LLGo and host-side GOROOT runner run: | go build -o "$RUNNER_TEMP/llgo" ./cmd/llgo