Skip to content

Commit e9ec761

Browse files
committed
actions: add Linux ARM64 build
1 parent 2cfb4c9 commit e9ec761

File tree

1 file changed

+8
-35
lines changed

1 file changed

+8
-35
lines changed

.github/workflows/linux-wheels.yml

Lines changed: 8 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
manylinux:
7-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.MANYLINUX.RUNNER }}
88
container:
99
image: quay.io/pypa/${{ matrix.MANYLINUX.NAME }}
1010
volumes:
@@ -18,8 +18,13 @@ jobs:
1818
- { VERSION: "cp312-cp312", BINARY: "/opt/python/cp312-cp312/bin" }
1919
- { VERSION: "cp313-cp313", BINARY: "/opt/python/cp313-cp313/bin" }
2020
MANYLINUX:
21-
- { NAME: "manylinux_2_28_x86_64", IMAGE: "quay.io/pypa/manylinux_2_28_x86_64" }
22-
- { NAME: "musllinux_1_2_x86_64", IMAGE: "quay.io/pypa/musllinux_1_2_x86_64" }
21+
# x86_64
22+
- { NAME: "manylinux_2_28_x86_64", IMAGE: "quay.io/pypa/manylinux_2_28_x86_64", RUNNER: "ubuntu-latest" }
23+
- { NAME: "musllinux_1_2_x86_64", IMAGE: "quay.io/pypa/musllinux_1_2_x86_64", RUNNER: "ubuntu-latest" }
24+
# arm64
25+
- { NAME: "manylinux_2_28_aarch64", IMAGE: "quay.io/pypa/manylinux_2_28_aarch64", RUNNER: "ubuntu-24.04-arm" }
26+
# GitHub actions are not yet supported on Alpine arm64
27+
# - { NAME: "musllinux_1_2_aarch64", IMAGE: "quay.io/pypa/musllinux_1_2_aarch64", RUNNER: "ubuntu-24.04-arm" }
2328
name: "${{ matrix.PYTHON.VERSION }} - ${{ matrix.MANYLINUX.NAME }}"
2429
env:
2530
WHEEL_NAME: "clipspy-*-${{ matrix.PYTHON.VERSION }}*${{ matrix.MANYLINUX.NAME }}*.whl"
@@ -92,38 +97,6 @@ jobs:
9297
# name: linux-build
9398
# path: manylinux/wheelhouse/*manylinux_2_17*manylinux2014*.whl
9499

95-
# build-windows:
96-
# runs-on: windows-latest
97-
# strategy:
98-
# matrix:
99-
# python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
100-
# steps:
101-
# - uses: actions/checkout@v2
102-
# # Install nmake
103-
# - uses: ilammy/msvc-dev-cmd@v1
104-
# - name: Set up Python ${{ matrix.python-version }}
105-
# uses: actions/setup-python@v2
106-
# with:
107-
# python-version: ${{ matrix.python-version }}
108-
# - name: Build CLIPSPy
109-
# run: |
110-
# python -m pip install --upgrade pip
111-
# pip install --upgrade cffi wheel pytest setuptools
112-
# nmake /F Makefile.win
113-
# - name: Install CLIPSPy
114-
# run: |
115-
# pip install clipspy --no-index --find-links dist
116-
# - name: Run tests
117-
# run: |
118-
# # Run test from outside module to test installed package
119-
# cd ../
120-
# python -m pytest -v clipspy/test
121-
# - name: Store build artifacts
122-
# uses: actions/upload-artifact@v4
123-
# with:
124-
# name: windows-build-${{ matrix.python-version }}
125-
# path: dist
126-
127100
# build-macos-intel:
128101
# # On MACOS 13, user 'runner' is not part of wheel group.
129102
# # Hence, we need to use sudo everywhere.

0 commit comments

Comments
 (0)