Fix: GitHub CI

This commit is contained in:
2026-03-01 21:27:50 +01:00
parent 17643b3332
commit e9f5d8bb6d
2 changed files with 73 additions and 7 deletions

View File

@@ -51,9 +51,6 @@ jobs:
with:
key: ${{ matrix.target }}
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@main
- name: Install dependencies (Linux)
if: runner.os == 'Linux'
run: |
@@ -61,13 +58,12 @@ jobs:
sudo apt-get install -y build-essential cmake pkg-config libasound2-dev libclang-dev libjack-dev \
libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev libgl1-mesa-dev \
libx11-dev libx11-xcb-dev libxcursor-dev libxrandr-dev libxi-dev libwayland-dev
cargo binstall -y cargo-bundle || cargo install cargo-bundle
cargo install cargo-bundle
- name: Install dependencies (macOS)
if: runner.os == 'macOS'
run: |
brew list cmake &>/dev/null || brew install cmake
cargo binstall -y cargo-bundle || cargo install cargo-bundle
- name: Install dependencies (Windows)
if: runner.os == 'Windows'
@@ -81,8 +77,12 @@ jobs:
- name: Build desktop
run: cargo build --release --features desktop --bin cagire-desktop --target ${{ matrix.target }}
- name: Bundle desktop app
if: runner.os != 'Windows'
- name: Bundle desktop app (macOS)
if: runner.os == 'macOS'
run: scripts/make-app-bundle.sh ${{ matrix.target }}
- name: Bundle desktop app (Linux)
if: runner.os == 'Linux'
run: cargo bundle --release --features desktop --bin cagire-desktop --target ${{ matrix.target }}
- name: Build AppImages (Linux)