Skip to content

Commit

Permalink
build snafu
Browse files Browse the repository at this point in the history
  • Loading branch information
soldni committed Jan 15, 2024
1 parent 88735a2 commit 0fd6802
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}
name: "${{ matrix.task.name }}"
strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -154,7 +155,7 @@ jobs:
# target: [x86_64-unknown-linux-gnu]
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
# python: [3.10]
name: "Linux / Target: ${{ matrix.target }} / Python: ${{ matrix.python }}"
name: "Build Linux (python${{ matrix.python }}, ${{ matrix.target }})"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
Expand All @@ -169,8 +170,17 @@ jobs:
if: ${{ matrix.target == 'i686-unknown-linux-gnu' }}
run: |
sudo apt-get install --yes --upgrade libc6-dev-i386
- name: Setup cross-compilation to ARM
if: ${{ matrix.target == 'aarch64-unknown-linux-gnu' }}
run: |
sudo apt-get install --yes --upgrade gcc-aarch64-linux-gnu g++-aarch64-linux-gnu libc6-dev-arm64-cross
export CXX_aarch64_unknown_linux_gnu=aarch64-linux-gnu-g++
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
export CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc
- name: Add Rust Target
run: rustup target add ${{ matrix.target }}
run: |
rustup target add ${{ matrix.target }}
rustup toolchain install stable-${{ matrix.target }}
- name: Install Maturin
run: pip install 'maturin[patchelf]>=1.1,<2.0'
- name: Building wheels
Expand Down

0 comments on commit 0fd6802

Please sign in to comment.