Skip to content

Commit 73710b0

Browse files
authored
Merge pull request #30 from b-long/feature/add-aarch64-linux-redux
Add aarch64 linux support
2 parents b0335d3 + 995d39e commit 73710b0

2 files changed

Lines changed: 26 additions & 24 deletions

File tree

.github/workflows/publish-test.yaml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ on:
99
- develop
1010
workflow_dispatch:
1111

12-
# on:
13-
# # release:
14-
# # types: [created]
15-
# push:
16-
# tags:
17-
# - '*'
18-
1912
jobs:
2013
build_macos:
2114
# if: false
@@ -30,7 +23,7 @@ jobs:
3023
- [ "arm64", "arm64" ]
3124
runs-on: macos-${{ matrix.os_version }}
3225
steps:
33-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
3427

3528
- name: set up Go
3629
uses: actions/setup-go@v3
@@ -86,19 +79,27 @@ jobs:
8679
name: wheels-macos${{ matrix.os_version }}-py3${{ matrix.python3_version }}-${{ matrix.arch_cibw_go[0] }}
8780
path: ./wheelhouse/*.whl
8881

89-
build_linux_x86_64:
82+
build_linux:
9083
# if: false
91-
name: Linux Python 3.x x86_64
84+
name: Linux Python 3.x
9285
runs-on: ubuntu-latest
9386

9487
steps:
95-
- uses: actions/checkout@v3
88+
- uses: actions/checkout@v4
9689

9790
- name: Setup project files
9891
run: |
9992
rm -rf poetry.lock pyproject.toml
10093
cp setup_ci.py setup.py
10194
95+
# QEMU is used by cibuildwheel to cross-compile wheels
96+
# https://cibuildwheel.pypa.io/en/stable/faq/#emulation
97+
- name: Set up QEMU
98+
if: runner.os == 'Linux'
99+
uses: docker/setup-qemu-action@v3
100+
with:
101+
platforms: all
102+
102103
- name: Build wheels
103104
uses: pypa/cibuildwheel@v2.21.3
104105
env:
@@ -142,7 +143,7 @@ jobs:
142143
# runs-on: windows-2019
143144

144145
# steps:
145-
# - uses: actions/checkout@v3
146+
# - uses: actions/checkout@v4
146147

147148
# - name: Setup project files
148149
# run: |

.github/workflows/publish.yaml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,6 @@ on:
99
- main
1010
workflow_dispatch:
1111

12-
# on:
13-
# # release:
14-
# # types: [created]
15-
# push:
16-
# tags:
17-
# - '*'
18-
1912
jobs:
2013
build_macos:
2114
# if: false
@@ -30,7 +23,7 @@ jobs:
3023
- [ "arm64", "arm64" ]
3124
runs-on: macos-${{ matrix.os_version }}
3225
steps:
33-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
3427

3528
- name: set up Go
3629
uses: actions/setup-go@v3
@@ -86,19 +79,27 @@ jobs:
8679
name: wheels-macos${{ matrix.os_version }}-py3${{ matrix.python3_version }}-${{ matrix.arch_cibw_go[0] }}
8780
path: ./wheelhouse/*.whl
8881

89-
build_linux_x86_64:
82+
build_linux:
9083
# if: false
91-
name: Linux Python 3.x x86_64
84+
name: Linux Python 3.x
9285
runs-on: ubuntu-latest
9386

9487
steps:
95-
- uses: actions/checkout@v3
88+
- uses: actions/checkout@v4
9689

9790
- name: Setup project files
9891
run: |
9992
rm -rf poetry.lock pyproject.toml
10093
cp setup_ci.py setup.py
10194
95+
# QEMU is used by cibuildwheel to cross-compile wheels
96+
# https://cibuildwheel.pypa.io/en/stable/faq/#emulation
97+
- name: Set up QEMU
98+
if: runner.os == 'Linux'
99+
uses: docker/setup-qemu-action@v3
100+
with:
101+
platforms: all
102+
102103
- name: Build wheels
103104
uses: pypa/cibuildwheel@v2.21.3
104105
env:
@@ -142,7 +143,7 @@ jobs:
142143
# runs-on: windows-2019
143144

144145
# steps:
145-
# - uses: actions/checkout@v3
146+
# - uses: actions/checkout@v4
146147

147148
# - name: Setup project files
148149
# run: |

0 commit comments

Comments
 (0)