File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 2626 matrix :
2727 include :
2828 - platform : macos-latest
29- target : universal-apple-darwin
3029 name : macOS
3130 - platform : windows-latest
32- target : x86_64-pc-windows-msvc
3331 name : Windows
3432
3533 runs-on : ${{ matrix.platform }}
@@ -47,13 +45,14 @@ jobs:
4745
4846 - name : Install Rust
4947 uses : dtolnay/rust-toolchain@stable
50- with :
51- targets : ${{ matrix.target }}
5248
53- - name : Install dependencies (macOS)
49+ - name : Add Rust targets (macOS universal )
5450 if : matrix.platform == 'macos-latest'
55- run : |
56- rustup target add aarch64-apple-darwin x86_64-apple-darwin
51+ run : rustup target add aarch64-apple-darwin x86_64-apple-darwin
52+
53+ - name : Add Rust target (Windows)
54+ if : matrix.platform == 'windows-latest'
55+ run : rustup target add x86_64-pc-windows-msvc
5756
5857 - name : Install dependencies
5958 run : yarn install --frozen-lockfile
You can’t perform that action at this time.
0 commit comments