From 0f85c49e46517dad81499fadd62d60e290a71560 Mon Sep 17 00:00:00 2001 From: Auguste Rame <19855629+SuperAuguste@users.noreply.github.com> Date: Tue, 4 Apr 2023 16:23:33 -0400 Subject: [PATCH] Add WASI to CI builds (#1113) --- .github/workflows/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ec12bea..cae6842 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,7 +48,7 @@ jobs: - name: Build artifacts if: ${{ matrix.os == 'ubuntu-latest' && github.event.inputs.bypass_tracy_and_artifacts != 'true' }} run: | - declare -a targets=("x86_64-windows" "x86_64-linux" "x86_64-macos" "x86-windows" "x86-linux" "aarch64-linux" "aarch64-macos") + declare -a targets=("x86_64-windows" "x86_64-linux" "x86_64-macos" "x86-windows" "x86-linux" "aarch64-linux" "aarch64-macos" "wasm32-wasi") mkdir -p "artifacts/" for target in "${targets[@]}"; do @@ -114,6 +114,13 @@ jobs: name: zls-aarch64-macos path: artifacts/aarch64-macos/ + - name: Upload wasm32-wasi artifact + if: ${{ matrix.os == 'ubuntu-latest' && github.event.inputs.bypass_tracy_and_artifacts != 'true' }} + uses: actions/upload-artifact@v3 + with: + name: zls-wasm32-wasi + path: artifacts/wasm32-wasi/ + - name: Beam to Felix if: ${{ matrix.os == 'ubuntu-latest' && github.ref == 'refs/heads/master' && github.repository_owner == 'zigtools' }} uses: easingthemes/ssh-deploy@v2.1.1