diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5eb1253..141e293 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,7 @@ jobs: name: Build on ${{ matrix.os }} for ${{ matrix.arch }} runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: include: - os: ubuntu-latest @@ -26,7 +27,6 @@ jobs: arch: amd64 target: x86_64-pc-windows-msvc - steps: - name: Checkout Repository uses: actions/checkout@v2 @@ -42,6 +42,15 @@ jobs: run: | sudo apt-get update sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu + sudo apt-get install -y pkg-config-aarch64-linux-gnu + sudo apt-get install -y libssl-dev:arm64 + + - name: Set up Environment for Cross-Compilation (ARM64) + if: matrix.target == 'aarch64-unknown-linux-gnu' + run: | + echo "PKG_CONFIG_ALLOW_CROSS=1" >> $GITHUB_ENV + echo "PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig" >> $GITHUB_ENV + echo "OPENSSL_DIR=/usr/lib/aarch64-linux-gnu" >> $GITHUB_ENV - name: Install Rust uses: actions-rs/toolchain@v1