Skip to content

Commit 09ed9a2

Browse files
committed
ci: install Rust before the macOS compositor build in build.yml
1 parent 1ee4043 commit 09ed9a2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,11 @@ jobs:
430430
restore-keys: |
431431
cargo-macos-${{ matrix.arch }}-
432432
433+
- name: Install Rust toolchain
434+
run: |
435+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --target ${{ matrix.arch == 'x64' && 'x86_64' || 'aarch64' }}-apple-darwin
436+
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
437+
433438
- name: Build Metal compositor addon
434439
run: npm run build:native:compositor:mac
435440

0 commit comments

Comments
 (0)