Skip to content

Commit 8103187

Browse files
authored
Merge pull request #11 from odidev/odidev_aarch64
Add Linux AArch64 wheel build support
2 parents da519fe + 4f05aec commit 8103187

File tree

7 files changed

+32
-20
lines changed

7 files changed

+32
-20
lines changed

.github/workflows/actions/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ for PYTHON in ${PYTHONS[@]}; do
88
/opt/python/${PYTHON}/bin/pip wheel . -w /github/workspace/wheelhouse/
99
done
1010

11-
for whl in /github/workspace/wheelhouse/*.whl; do
12-
auditwheel repair $whl
11+
for whl in /github/workspace/wheelhouse/*linux_"$(uname -m)".whl; do
12+
auditwheel repair $whl --plat manylinux2014_"$(uname -m)"
1313
done

.github/workflows/actions/manylinux1_i686/action.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/actions/manylinux1_x86_64/action.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: 'build wheels with manylinux2014_aarch64'
2+
description: 'build wheels with manylinux2014_aarch64'
3+
runs:
4+
using: 'docker'
5+
image: docker://quay.io/pypa/manylinux2014_aarch64
6+
args:
7+
- .github/workflows/actions/entrypoint.sh
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: 'build wheels with manylinux2014_i686'
2+
description: 'build wheels with manylinux2014_i686'
3+
runs:
4+
using: 'docker'
5+
image: docker://quay.io/pypa/manylinux2014_i686
6+
args:
7+
- .github/workflows/actions/entrypoint.sh
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: 'build wheels with manylinux2014_x86_64'
2+
description: 'build wheels with manylinux2014_x86_64'
3+
runs:
4+
using: 'docker'
5+
image: docker://quay.io/pypa/manylinux2014_x86_64
6+
args:
7+
- .github/workflows/actions/entrypoint.sh

.github/workflows/build_linux.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,21 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v2
15+
- name: Set up QEMU
16+
id: qemu
17+
uses: docker/setup-qemu-action@v1
1518
- name: submodule update
1619
run: |
1720
git submodule update --init --recursive
18-
- uses: ./.github/workflows/actions/manylinux1_x86_64/
19-
- uses: ./.github/workflows/actions/manylinux1_i686/
21+
- uses: ./.github/workflows/actions/manylinux2014_x86_64/
22+
- uses: ./.github/workflows/actions/manylinux2014_i686/
23+
- uses: ./.github/workflows/actions/manylinux2014_aarch64/
2024
- name: copy manylinux wheels
2125
run: |
2226
mkdir dist
23-
cp wheelhouse/dartsclone*-manylinux1_x86_64.whl dist/
24-
cp wheelhouse/dartsclone*-manylinux1_i686.whl dist/
27+
cp wheelhouse/dartsclone*manylinux2014_x86_64.whl dist/
28+
cp wheelhouse/dartsclone*manylinux2014_i686.whl dist/
29+
cp wheelhouse/dartsclone*manylinux2014_aarch64.whl dist/
2530
- name: upload wheels
2631
uses: actions/upload-artifact@v1
2732
with:

0 commit comments

Comments
 (0)