Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

ci: install Rust before the macOS compositor build in build.yml

EtienneLescot09ed9a2313e0
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3c23c78a4..3fe9c5cb7 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -430,6 +430,11 @@ jobs:
restore-keys: |
cargo-macos-${{ matrix.arch }}-
+ - name: Install Rust toolchain
+ run: |
+ 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
+ echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
+
- name: Build Metal compositor addon
run: npm run build:native:compositor:mac