aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-22 21:01:34 +0100
committerGitHub <[email protected]>2021-06-22 21:01:34 +0100
commit38da41ea6e58255223686104b3fbca27392d8162 (patch)
treec848d19087658a68772ce5b1f836a3d6c32a63b4 /.github/workflows/ci.yaml
parent9b29573a4bfcecfcd3c48ada589f6129323a559c (diff)
parentc61fee6d55c011e6f5eec29788101667ee62631c (diff)
Merge #9381
9381: Fix compilation on WASM r=matklad a=flodiebold Fixes #9214. Fixes #9210. Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to '.github/workflows/ci.yaml')
-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