Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksongoode committed Jul 4, 2024
1 parent 2db86ef commit 98e79f4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ jobs:
libgtk-3-dev \
libssl-dev \
libasound2-dev \
gcc-aarch64-linux-gnu \
g++-aarch64-linux-gnu \
libglib2.0-dev \
pkg-config
- name: Install cross
Expand All @@ -82,9 +81,11 @@ jobs:
- name: Build Release (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get install -y gcc-${{ matrix.arch }}-linux-gnu g++-${{ matrix.arch }}-linux-gnu
cross build --target ${{ matrix.arch }}-unknown-linux-gnu --release
env:
PKG_CONFIG_ALLOW_CROSS: 1
PKG_CONFIG_PATH: /usr/lib/${{ matrix.arch }}-linux-gnu/pkgconfig
working-directory: ./psst-gui

- name: Build Release (macOS)
Expand Down
7 changes: 5 additions & 2 deletions psst-gui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ pre-build = [
"""apt-get update && apt-get --assume-yes install \
libgtk-3-dev:$CROSS_DEB_ARCH \
libssl-dev:$CROSS_DEB_ARCH \
libasound2-dev:$CROSS_DEB_ARCH
libasound2-dev:$CROSS_DEB_ARCH \
libglib2.0-dev:$CROSS_DEB_ARCH
"""
]

Expand All @@ -83,10 +84,12 @@ pre-build = [
"""apt-get update && apt-get --assume-yes install \
libgtk-3-dev:$CROSS_DEB_ARCH \
libssl-dev:$CROSS_DEB_ARCH \
libasound2-dev:$CROSS_DEB_ARCH
libasound2-dev:$CROSS_DEB_ARCH \
libglib2.0-dev:$CROSS_DEB_ARCH
"""
]


[target.aarch64-unknown-linux-gnu.env]
passthrough = [
"PKG_CONFIG_ALLOW_CROSS",
Expand Down

0 comments on commit 98e79f4

Please sign in to comment.