Skip to content

Commit

Permalink
Try
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksongoode committed Jul 4, 2024
1 parent 98e79f4 commit 9be1a1b
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,24 +68,14 @@ jobs:
run: |
cargo install cross
- name: Setup cross-compilation environment
if: runner.os == 'Linux'
run: |
if [ "${{ matrix.arch }}" == "aarch64" ]; then
echo "PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig" >> $GITHUB_ENV
else
echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig" >> $GITHUB_ENV
fi
echo "PKG_CONFIG_ALLOW_CROSS=1" >> $GITHUB_ENV
- 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
PKG_CONFIG_SYSROOT_DIR: /
working-directory: ./psst-gui

- name: Build Release (macOS)
Expand Down

0 comments on commit 9be1a1b

Please sign in to comment.