Skip to content

Commit

Permalink
Try to fix CI APT dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Popax21 committed Apr 22, 2024
1 parent cb067d2 commit d542598
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-apphost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ jobs:

include:
# Linux GUI support needs libgtk-3-dev to be installed
- target.name: linux_x64
- target:
name: linux_x64
apt_deps: libgtk-3-dev
ui: gui
apt_deps: libgtk-3-dev

runs-on: ${{ matrix.target.os }}
container: ${{ matrix.target.container }}
Expand All @@ -55,8 +56,8 @@ jobs:
echo "CARGO_HOME=$HOME/.cargo" >> "$GITHUB_ENV"
- name: Install dependencies
if: ${{ matrix.apt_deps }}
run: sudo apt-get install -y ${{ matrix.apt_deps }}
if: ${{ matrix.target.apt_deps }}
run: sudo apt-get install -y ${{ matrix.target.apt_deps }}

- name: Cache toolchain / dependencies
uses: actions/cache@v4
Expand Down

0 comments on commit d542598

Please sign in to comment.