Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlKCarlK committed Jul 4, 2024
1 parent 6d10384 commit 51bc366
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,25 @@ jobs:
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.5

- name: Build wheels
- name: Build wheels for aarch64
if: matrix.target == 'aarch64'
env:
CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc
CFLAGS: -march=armv8-a
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
sccache: 'true'
manylinux: auto

- name: Build wheels for x86_64
if: matrix.target == 'x86_64'
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist --find-interpreter
manylinux: auto

- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 51bc366

Please sign in to comment.