Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/build-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ jobs:
matrix:
include:
- platform: macos-latest
target: universal-apple-darwin
name: macOS
- platform: windows-latest
target: x86_64-pc-windows-msvc
name: Windows

runs-on: ${{ matrix.platform }}
Expand All @@ -47,13 +45,14 @@ jobs:

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}

- name: Install dependencies (macOS)
- name: Add Rust targets (macOS universal)
if: matrix.platform == 'macos-latest'
run: |
rustup target add aarch64-apple-darwin x86_64-apple-darwin
run: rustup target add aarch64-apple-darwin x86_64-apple-darwin

- name: Add Rust target (Windows)
if: matrix.platform == 'windows-latest'
run: rustup target add x86_64-pc-windows-msvc

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
Loading