Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimryndin committed Feb 22, 2024
1 parent 49d434e commit 2fcfe5f
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ jobs:
- build: linux
os: ubuntu-latest
target: aarch64-unknown-linux-gnu
packages: "libc6-dev-arm64-cross gcc-aarch64-linux-gnu"

# - build: macos
# os: macos-latest
Expand Down Expand Up @@ -162,12 +163,9 @@ jobs:
if [ "${{ matrix.target }}" = "x86_64-unknown-linux-gnu" ]; then
exit 0
fi
if [ "${{ matrix.target }}" = "aarch64-unknown-linux-gnu" ]; then
#sudo apt-get install --no-install-recommends -y build-essential gcc-aarch64-linux-gnu libc6-dev-arm64-cross
sudo apt-get install --no-install-recommends -y libc6-dev-arm64-cross gcc-aarch64-linux-gnu
fi
sudo apt-get install --no-install-recommends -y ${{ matrix.packages }}
- name: Install toolchain
- name: Install target
shell: bash
run: |
if [ "${{ matrix.target }}" = "x86_64-unknown-linux-gnu" ]; then
Expand All @@ -178,9 +176,9 @@ jobs:
- name: Build
env:
RUSTFLAGS: '-C target-feature=+crt-static'
CC_aarch64_unknown_linux_gnu: "aarch64-linux-gnu-gcc"
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: "aarch64-linux-gnu-gcc"
BINDGEN_EXTRA_CLANG_ARGS: -"-sysroot /usr/aarch64-linux-gnu"
#CC_aarch64_unknown_linux_gnu: "aarch64-linux-gnu-gcc"
#CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: "aarch64-linux-gnu-gcc"
#BINDGEN_EXTRA_CLANG_ARGS: -"-sysroot /usr/aarch64-linux-gnu"
shell: bash
run: |
cargo build --verbose --release --target ${{ matrix.target }}
Expand Down

0 comments on commit 2fcfe5f

Please sign in to comment.