Skip to content

Commit

Permalink
Merge pull request #1 from aqora-io/angel/support_linux_aarch64
Browse files Browse the repository at this point in the history
chore: build for aarch64
  • Loading branch information
Angel-Dijoux authored Jul 18, 2024
2 parents 5bb3b0b + 7cbb9c9 commit 8afa778
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
tags:
- '*'
- "*"
pull_request:
merge_group:
workflow_dispatch:
Expand All @@ -18,19 +18,22 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
target: [x86_64, x86] # aarch64, armv7, s390x, ppc64le
target: [x86_64, x86, aarch64] # armv7, s390x, ppc64le
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.10"
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist
sccache: 'true'
sccache: "true"
manylinux: auto
env:
# Workaround ring 0.17 build issue
CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8"
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand All @@ -46,14 +49,14 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.10"
architecture: ${{ matrix.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist
sccache: 'true'
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand All @@ -69,13 +72,13 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.10"
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.target }}
args: --release --out dist
sccache: 'true'
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 8afa778

Please sign in to comment.