Skip to content

Commit

Permalink
CI: [linux aarch64] - try to downgrade manylinux
Browse files Browse the repository at this point in the history
  • Loading branch information
deedy5 committed Aug 12, 2024
1 parent 42366a4 commit f6d8ed8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: rui314/setup-mold@v1
- name: Install aarch64 build dependencies
if: ${{ startsWith(matrix.platform.target, 'aarch64') }}
run: sudo apt-get update && sudo apt-get install --yes crossbuild-essential-arm64
run: sudo apt-get update && sudo apt-get install --yes --upgrade crossbuild-essential-arm64
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -50,8 +51,8 @@ jobs:
CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8"
CC: ${{ matrix.platform.target }}-linux-gnu-gcc
CXX: ${{ matrix.platform.target }}-linux-gnu-g++
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER: x86_64-linux-gnu-g++
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-g++
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER: x86_64-linux-gnu-gcc
CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -106,6 +107,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: rui314/setup-mold@v1
- name: Install aarch64 build dependencies
if: ${{ startsWith(matrix.platform.target, 'aarch64') }}
run: sudo apt-get update && sudo apt-get install --yes crossbuild-essential-arm64
Expand Down

0 comments on commit f6d8ed8

Please sign in to comment.