Skip to content

Commit d689789

Browse files
authored
Build wheels on Linux ARM (#283)
1 parent 0ac03f6 commit d689789

File tree

2 files changed

+22
-6
lines changed

2 files changed

+22
-6
lines changed

.github/workflows/create_wheel.yml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ${{ matrix.runs-on }}
2525
strategy:
2626
matrix:
27-
os: [ linux-intel, macos-intel, macos-arm ]
27+
os: [ linux-intel, linux-arm, macos-intel, macos-arm ]
2828
include:
2929
# Set defaults
3030
- archs: auto
@@ -34,6 +34,9 @@ jobs:
3434
- os: linux-intel
3535
runs-on: ubuntu-latest
3636
archs: x86_64
37+
- os: linux-arm
38+
runs-on: ubuntu-24.04-arm
39+
archs: aarch64
3740
- os: macos-intel
3841
runs-on: macos-13 # macos-13 was the last x86_64 runner
3942
xcode: 14.3
@@ -76,21 +79,33 @@ jobs:
7679

7780

7881
test_wheels_linux:
79-
name: Test wheel on ${{ matrix.distro }}
82+
name: Test wheel on ${{ matrix.distro }} and ${{ matrix.arch.name }}
8083
needs: [build_wheels]
81-
runs-on: ubuntu-latest
84+
runs-on: ${{ matrix.arch.runner }}
8285
strategy:
8386
fail-fast: false
8487
matrix:
88+
arch:
89+
- {name: linux-intel,
90+
runner: ubuntu-latest
91+
}
92+
- {name: linux-arm,
93+
runner: ubuntu-24.04-arm
94+
}
8595
distro:
86-
- ubuntu:24.04
87-
- debian:13
96+
- ubuntu:latest
97+
- ubuntu:rolling
98+
- debian:latest
8899
- fedora:latest
89100
- archlinux:latest
101+
exclude:
102+
- arch: {name: linux-arm, runner: ubuntu-24.04-arm}
103+
distro: archlinux:latest
104+
90105
steps:
91106
- uses: actions/download-artifact@v5
92107
with:
93-
pattern: stormpy-wheels-linux-intel
108+
pattern: stormpy-wheels-${{ matrix.arch.name }}
94109
path: dist
95110
merge-multiple: true
96111
- name: Checkout test files

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ input = "lib/stormpy/_version.py"
9999

100100
[tool.cibuildwheel]
101101
manylinux-x86_64-image = "manylinux_2_34"
102+
manylinux-aarch64-image = "manylinux_2_34"
102103
skip = "*musllinux*"
103104

104105
[tool.cibuildwheel.linux]

0 commit comments

Comments
 (0)