From 9be1a1ba6d03d028296f957bab6fde2d33e7fde3 Mon Sep 17 00:00:00 2001 From: Jackson Goode Date: Wed, 3 Jul 2024 18:28:24 -0700 Subject: [PATCH] Try --- .github/workflows/build.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d16b6e8c..114d03a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,16 +68,6 @@ 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: | @@ -85,7 +75,7 @@ jobs: 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)