ci: trim matrix to macos-14 universal + windows
This commit is contained in:
@@ -21,12 +21,8 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- platform: macos-14 # apple silicon
|
- platform: macos-14 # universal binary covers both Intel + Apple Silicon
|
||||||
args: "--target aarch64-apple-darwin --bundles app,updater"
|
args: "--target universal-apple-darwin --bundles app,updater"
|
||||||
- platform: macos-13 # intel
|
|
||||||
args: "--target x86_64-apple-darwin --bundles app,updater"
|
|
||||||
- platform: ubuntu-22.04
|
|
||||||
args: ""
|
|
||||||
- platform: windows-latest
|
- platform: windows-latest
|
||||||
args: ""
|
args: ""
|
||||||
|
|
||||||
@@ -47,13 +43,7 @@ jobs:
|
|||||||
- name: Setup Rust
|
- name: Setup Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
targets: ${{ matrix.platform == 'macos-14' && 'aarch64-apple-darwin' || matrix.platform == 'macos-13' && 'x86_64-apple-darwin' || '' }}
|
targets: ${{ matrix.platform == 'macos-14' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
|
||||||
|
|
||||||
- name: Install Linux build deps
|
|
||||||
if: matrix.platform == 'ubuntu-22.04'
|
|
||||||
run: |
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libgtk-3-dev
|
|
||||||
|
|
||||||
- name: Install JS deps
|
- name: Install JS deps
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
|||||||
Reference in New Issue
Block a user