From 5cdf6ea93d413cc6bc97fa7ae0b8fbc7180548b1 Mon Sep 17 00:00:00 2001 From: Stephen Celis Date: Wed, 14 Sep 2022 11:02:05 -0400 Subject: [PATCH 1/4] Add SwiftWASM to CI --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 111907d9..6406ab2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,3 +24,17 @@ jobs: - uses: actions/checkout@v2 - name: Run tests run: make test + wasm: + name: SwiftWASM + runs-on: ubuntu-latest + strategy: + matrix: + include: + - { toolchain: wasm-5.6.0-RELEASE } + + steps: + - uses: actions/checkout@v2 + - run: echo "${{ matrix.toolchain }}" > .swift-version + - uses: swiftwasm/swiftwasm-action@v5.6 + with: + shell-action: carton test --environment node From ad609ba3a600f20efd64ca4ffe5f7891d78060f7 Mon Sep 17 00:00:00 2001 From: Stephen Celis Date: Wed, 14 Sep 2022 11:10:24 -0400 Subject: [PATCH 2/4] wip --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6406ab2c..e2ef1cc2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,4 +37,4 @@ jobs: - run: echo "${{ matrix.toolchain }}" > .swift-version - uses: swiftwasm/swiftwasm-action@v5.6 with: - shell-action: carton test --environment node + shell-action: carton build From 6785a027c1b034386af2da0cd1dbbc53403643d5 Mon Sep 17 00:00:00 2001 From: Stephen Celis Date: Wed, 14 Sep 2022 11:12:09 -0400 Subject: [PATCH 3/4] wip --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2ef1cc2..e2e14b99 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,4 +37,4 @@ jobs: - run: echo "${{ matrix.toolchain }}" > .swift-version - uses: swiftwasm/swiftwasm-action@v5.6 with: - shell-action: carton build + shell-action: carton bundle From e88f7bc38b3191e61b1f9c68cc85fcf895b8614b Mon Sep 17 00:00:00 2001 From: Stephen Celis Date: Wed, 14 Sep 2022 11:17:32 -0400 Subject: [PATCH 4/4] wip --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2e14b99..45938e75 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,4 +37,4 @@ jobs: - run: echo "${{ matrix.toolchain }}" > .swift-version - uses: swiftwasm/swiftwasm-action@v5.6 with: - shell-action: carton bundle + shell-action: swift build