Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
toyobayashi committed Feb 16, 2023
1 parent 1d7d518 commit 981fd63
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
name: Build
runs-on: ${{ matrix.os }}
env:
WASI_VERSION: '19'
WASI_VERSION_FULL: '19.0'
WASI_SDK_PATH: './wasi-sdk-19.0'
WASI_VERSION: '20.0+threads'
WASI_VERSION_FULL: '20.0.threads'
WASI_SDK_PATH: './wasi-sdk-20.0.threads'
LLVM_VERSION: '15.0.7'
LLVM_PATH: './wasi-sdk-19.0'
LLVM_PATH: './wasi-sdk-20.0.threads'
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ env.WASI_SDK_PATH }}
key: ${{ runner.os }}-${{ env.WASI_VERSION_FULL }}
key: ${{ runner.os }}-${{ env.WASI_VERSION }}-${{ env.WASI_VERSION_FULL }}

- name: Install wasi-sdk
if: ${{ steps.cache-wasi-sdk.outputs.cache-hit != 'true' }}
Expand All @@ -70,7 +70,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '16.15.0'
node-version: '18.12.1'
registry-url: 'https://registry.npmjs.org'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -85,6 +85,11 @@ jobs:
- name: Lint
run: npm run lint

- name: Test wasm32-wasi-threads
run: |
npm run rebuild:wt -w packages/test
npm run test:wt -w packages/test
- name: Test wasm32-unknown-emscripten
run: |
Expand Down

0 comments on commit 981fd63

Please sign in to comment.