From 0bd17f334f096b02077e148cda0a69ab4a4199c8 Mon Sep 17 00:00:00 2001 From: Konstantin Malanchev Date: Mon, 3 Feb 2025 14:35:05 -0500 Subject: [PATCH 1/2] Replace self-hosted ARM with GH's --- .github/workflows/test.yml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 62b7a126..3492b514 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,12 +28,17 @@ jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: python_minor: [ '9', '10', '11', '12', '13' ] + os: [ ubuntu-latest ] + # Just a single ARM worker to be sure that it works + include: + - python_minor: '13' + os: ubuntu-24.04-arm defaults: run: @@ -212,19 +217,3 @@ jobs: run: | rustup default ${{ steps.get_msrv.outputs.msrv }} maturin build --find-interpreter - - arm: - runs-on: [ self-hosted, linux, ARM64 ] - - needs: [ py_build_deps ] - - defaults: - run: - working-directory: light-curve - - steps: - - uses: actions/checkout@v4 - - name: Install build_deps - run: pip install "${{ needs.py_build_deps.outputs.output }}" - - name: Build - run: maturin build From 9abd29e4acc99d32f64c7258d3f1f977a9213ed1 Mon Sep 17 00:00:00 2001 From: Konstantin Malanchev Date: Mon, 3 Feb 2025 14:38:05 -0500 Subject: [PATCH 2/2] Use ARM runner for aarch64 wheels --- .github/workflows/publish.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ff90d98f..060dc348 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,7 +10,7 @@ on: jobs: check-version: name: Check the tag corresponds to the crate version - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -50,15 +50,15 @@ jobs: cibw_build: cp39-macosx_arm64 - os: windows-2019 cibw_build: cp39-win_amd64 - - os: ubuntu-20.04 + - os: ubuntu-24.04 cibw_build: cp39-manylinux_x86_64 - - os: ubuntu-20.04 + - os: ubuntu-24.04 cibw_build: cp39-musllinux_x86_64 - - os: ubuntu-20.04 + - os: ubuntu-24.04-arm cibw_build: cp39-manylinux_aarch64 - - os: ubuntu-20.04 + - os: ubuntu-24.04 cibw_build: cp39-manylinux_ppc64le - - os: ubuntu-20.04 + - os: ubuntu-24.04-arm cibw_build: cp39-musllinux_aarch64 steps: @@ -115,7 +115,7 @@ jobs: sdist: name: Build source distribution - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 defaults: run: @@ -172,7 +172,7 @@ jobs: needs: publish name: Publish light-curve-python - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 defaults: run: