From a3242c4ea4ab84de6e7d409fd98eedcdace57f9d Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Fri, 17 Jan 2025 12:04:54 +0800 Subject: [PATCH] CI: switch linux_aarch64 to GitHub hosted runners (#4557) See https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/ ## Summary by CodeRabbit - **Chores** - Simplified GitHub Actions workflow for wheel building - Streamlined ARM64 build configuration by directly specifying runner - Removed conditional runner determination logic Signed-off-by: Jinzhe Zeng --- .github/workflows/build_wheel.yml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index 8788bc929b..8d27e08974 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -14,24 +14,8 @@ concurrency: cancel-in-progress: true jobs: - determine-arm64-runner: - runs-on: ubuntu-latest - permissions: read-all - outputs: - runner: ${{ steps.set-runner.outputs.runner }} - steps: - - name: Determine which runner to use for ARM64 build - id: set-runner - run: | - if [ "${{ github.repository_owner }}" == "deepmodeling" ]; then - echo "runner=[\"Linux\",\"ARM64\"]" >> $GITHUB_OUTPUT - else - echo "runner=\"ubuntu-latest\"" >> $GITHUB_OUTPUT - fi - build_wheels: name: Build wheels for cp${{ matrix.python }}-${{ matrix.platform_id }} - needs: determine-arm64-runner runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -65,7 +49,7 @@ jobs: platform_id: win_amd64 dp_variant: cpu # linux-aarch64 - - os: ${{ fromJson(needs.determine-arm64-runner.outputs.runner) }} + - os: ubuntu-24.04-arm python: 310 platform_id: manylinux_aarch64 dp_variant: cpu