Skip to content

Commit

Permalink
Update WASM CI to use multi jobs instead of matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye committed Jan 24, 2024
1 parent 337f1a3 commit a6e8e4e
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,23 @@ on:
branches: [main]

jobs:
carton_wasmer_test:
name: Execute tests on WASM
strategy:
fail-fast: false
matrix:
swift_version: ["5.7", "5.8", "5.9"]
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
# Matrics is not supported
# See https://github.com/swiftwasm/swiftwasm-action/issues/3
carton_wasmer_test_5_7:
name: "Execute tests on Wasm (Swift 5.7)"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: swiftwasm/swiftwasm-action@v${{ matrix.swift_version }}
- uses: swiftwasm/swiftwasm-action@v5.7
carton_wasmer_test_5_8:
name: "Execute tests on Wasm (Swift 5.8)"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: swiftwasm/swiftwasm-action@v5.8
carton_wasmer_test_5_9:
name: "Execute tests on Wasm (Swift 5.9)"
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: swiftwasm/swiftwasm-action@v5.9

0 comments on commit a6e8e4e

Please sign in to comment.