fix: release

This commit is contained in:
rvcas 2023-09-20 13:03:38 -04:00
parent ee4001d2c8
commit 1ecdf38842
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 0 additions and 11 deletions

View File

@ -90,23 +90,12 @@ jobs:
echo "SDKROOT=$(xcrun -sdk macosx --show-sdk-path)" >> $GITHUB_ENV
echo "MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx --show-sdk-platform-version)" >> $GITHUB_ENV
- name: Linux AMD setup
if: ${{ matrix.job.target == 'x86_64-unknown-linux-gnu' }}
run: |
echo "RUSTFLAGS='-C target-feature=+crt-static'" >> $GITHUB_ENV
- name: Linux ARM setup
if: ${{ matrix.job.target == 'aarch64-unknown-linux-gnu' }}
run: |
sudo apt-get update -y
sudo apt-get install -y gcc-aarch64-linux-gnu libssl-dev:armhf
echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
echo "RUSTFLAGS='-C target-feature=+crt-static'" >> $GITHUB_ENV
- name: Windows setup
if: ${{ matrix.job.os == 'windows-latest' }}
run: |
echo "RUSTFLAGS='-C target-feature=+crt-static'" >> $GITHUB_ENV
- name: Build binaries
uses: actions-rs/cargo@v1