From f2ab523ebf6de0bfa8c1cb176844615e8e5d3fd1 Mon Sep 17 00:00:00 2001 From: Stephen Celis Date: Mon, 4 Mar 2024 15:41:58 -0800 Subject: [PATCH] Add Wasm CI --- .github/workflows/ci.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 948e2e64e..9f80fc450 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: name: macOS 13 (Xcode ${{ matrix.xcode }}) runs-on: macos-13 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Select Xcode ${{ matrix.xcode }} run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app - name: Run tests @@ -36,9 +36,18 @@ jobs: - uses: swift-actions/setup-swift@v1 with: swift-version: ${{ matrix.swift }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: swift test + wasm: + name: Wasm + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: swiftwasm/swiftwasm-action@v5.9 + with: + shell-action: carton test + windows: strategy: matrix: @@ -59,6 +68,6 @@ jobs: git config --global core.autocrlf false git config --global core.eol lf - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: swift build - run: swift test