aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 63518e67f..222676d5e 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -66,6 +66,9 @@ jobs:
66 66
67 env: 67 env:
68 targets: "powerpc-unknown-linux-gnu x86_64-unknown-linux-musl" 68 targets: "powerpc-unknown-linux-gnu x86_64-unknown-linux-musl"
69 # The rust-analyzer binary is not expected to compile on WASM, but the IDE
70 # crate should
71 targets_ide: "wasm32-unknown-unknown"
69 72
70 steps: 73 steps:
71 - name: Checkout repository 74 - name: Checkout repository
@@ -79,7 +82,7 @@ jobs:
79 override: true 82 override: true
80 83
81 - name: Install Rust targets 84 - name: Install Rust targets
82 run: rustup target add ${{ env.targets }} 85 run: rustup target add ${{ env.targets }} ${{ env.targets_ide }}
83 86
84 - name: Cache Dependencies 87 - name: Cache Dependencies
85 uses: Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72 88 uses: Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72
@@ -89,6 +92,9 @@ jobs:
89 for target in ${{ env.targets }}; do 92 for target in ${{ env.targets }}; do
90 cargo check --target=$target --all-targets 93 cargo check --target=$target --all-targets
91 done 94 done
95 for target in ${{ env.targets_ide }}; do
96 cargo check -p ide --target=$target --all-targets
97 done
92 98
93 typescript: 99 typescript:
94 name: TypeScript 100 name: TypeScript