Skip to content

Commit 8307c5f

Browse files
authored
Merge pull request #478 from light-curve/arm-gh-runner
Use GitHub's ARM runner
2 parents a730140 + 9abd29e commit 8307c5f

File tree

2 files changed

+14
-25
lines changed

2 files changed

+14
-25
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
check-version:
1212
name: Check the tag corresponds to the crate version
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-24.04
1414

1515
steps:
1616
- uses: actions/checkout@v4
@@ -50,15 +50,15 @@ jobs:
5050
cibw_build: cp39-macosx_arm64
5151
- os: windows-2019
5252
cibw_build: cp39-win_amd64
53-
- os: ubuntu-20.04
53+
- os: ubuntu-24.04
5454
cibw_build: cp39-manylinux_x86_64
55-
- os: ubuntu-20.04
55+
- os: ubuntu-24.04
5656
cibw_build: cp39-musllinux_x86_64
57-
- os: ubuntu-20.04
57+
- os: ubuntu-24.04-arm
5858
cibw_build: cp39-manylinux_aarch64
59-
- os: ubuntu-20.04
59+
- os: ubuntu-24.04
6060
cibw_build: cp39-manylinux_ppc64le
61-
- os: ubuntu-20.04
61+
- os: ubuntu-24.04-arm
6262
cibw_build: cp39-musllinux_aarch64
6363

6464
steps:
@@ -115,7 +115,7 @@ jobs:
115115

116116
sdist:
117117
name: Build source distribution
118-
runs-on: ubuntu-20.04
118+
runs-on: ubuntu-24.04
119119

120120
defaults:
121121
run:
@@ -172,7 +172,7 @@ jobs:
172172
needs: publish
173173

174174
name: Publish light-curve-python
175-
runs-on: ubuntu-20.04
175+
runs-on: ubuntu-24.04
176176

177177
defaults:
178178
run:

.github/workflows/test.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,17 @@ jobs:
2828
2929
3030
test:
31-
runs-on: ubuntu-latest
31+
runs-on: ${{ matrix.os }}
3232

3333
strategy:
3434
fail-fast: false
3535
matrix:
3636
python_minor: [ '9', '10', '11', '12', '13' ]
37+
os: [ ubuntu-latest ]
38+
# Just a single ARM worker to be sure that it works
39+
include:
40+
- python_minor: '13'
41+
os: ubuntu-24.04-arm
3742

3843
defaults:
3944
run:
@@ -212,19 +217,3 @@ jobs:
212217
run: |
213218
rustup default ${{ steps.get_msrv.outputs.msrv }}
214219
maturin build --find-interpreter
215-
216-
arm:
217-
runs-on: [ self-hosted, linux, ARM64 ]
218-
219-
needs: [ py_build_deps ]
220-
221-
defaults:
222-
run:
223-
working-directory: light-curve
224-
225-
steps:
226-
- uses: actions/checkout@v4
227-
- name: Install build_deps
228-
run: pip install "${{ needs.py_build_deps.outputs.output }}"
229-
- name: Build
230-
run: maturin build

0 commit comments

Comments
 (0)