Skip to content

Commit

Permalink
run tests on mac and linux
Browse files Browse the repository at this point in the history
  • Loading branch information
benbrandt committed Oct 23, 2024
1 parent 72348e0 commit 9cc3243
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,18 @@ env:
jobs:
test:
name: Test
runs-on: "ubuntu-latest"
strategy:
fail-fast: false
matrix:
config:
- { os: "ubuntu-latest", wasiSDK: "linux" }
- { os: "macos-latest", wasiSDK: "macos" }
runs-on: ${{ matrix.config.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'
submodules: "recursive"

- name: Install latest Rust stable toolchain
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -53,8 +59,8 @@ jobs:
shell: bash
run: |
cd /tmp
curl -LO https://github.com/dicej/wasi-sdk/releases/download/${WASI_SDK_RELEASE}/wasi-sdk-${WASI_SDK_VERSION}-linux.tar.gz
tar xf wasi-sdk-${WASI_SDK_VERSION}-linux.tar.gz
curl -LO https://github.com/dicej/wasi-sdk/releases/download/${WASI_SDK_RELEASE}/wasi-sdk-${WASI_SDK_VERSION}-${{ matrix.config.wasiSDK }}.tar.gz
tar xf wasi-sdk-${WASI_SDK_VERSION}-${{ matrix.config.wasiSDK }}.tar.gz
mv wasi-sdk-${WASI_SDK_VERSION} /opt/wasi-sdk
- name: Cache CPython
Expand Down

0 comments on commit 9cc3243

Please sign in to comment.