https://github.com/python/cpython/commit/6c914bf85cc3a07e22e4618d0b5607c158e3cf66
commit: 6c914bf85cc3a07e22e4618d0b5607c158e3cf66
branch: main
author: Diego Russo <[email protected]>
committer: hugovk <[email protected]>
date: 2025-01-20T18:51:09+02:00
summary:

Move to public Linux arm64 hosted runners (#128964)

Co-authored-by: Hugo van Kemenade <[email protected]>

files:
M .github/actionlint.yaml
M .github/workflows/build.yml
M .github/workflows/jit.yml
M .pre-commit-config.yaml

diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml
index 3701f7297ffeb2..af125266ae7813 100644
--- a/.github/actionlint.yaml
+++ b/.github/actionlint.yaml
@@ -1,5 +1,5 @@
 self-hosted-runner:
-  labels: ["ubuntu-24.04-aarch64", "windows-aarch64"]
+  labels: ["windows-aarch64"]
 
 config-variables: null
 
@@ -7,4 +7,4 @@ paths:
   .github/workflows/**/*.yml:
      ignore:
      - 1st argument of function call is not assignable
-     - SC2(015|038|086|091|097|098|129|155)
\ No newline at end of file
+     - SC2(015|038|086|091|097|098|129|155)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8a70cde3d8bc13..6667512369716d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -244,17 +244,13 @@ jobs:
         - true
         os:
         - ubuntu-24.04
-        - ubuntu-24.04-aarch64
-        is-fork:  # only used for the exclusion trick
-        - ${{ github.repository_owner != 'python' }}
+        - ubuntu-24.04-arm
         exclude:
-        - os: ubuntu-24.04-aarch64
-          is-fork: true
         # Do not test BOLT with free-threading, to conserve resources
         - bolt: true
           free-threading: true
         # BOLT currently crashes during instrumentation on aarch64
-        - os: ubuntu-24.04-aarch64
+        - os: ubuntu-24.04-arm
           bolt: true
     uses: ./.github/workflows/reusable-ubuntu.yml
     with:
diff --git a/.github/workflows/jit.yml b/.github/workflows/jit.yml
index 9b84998a55666d..6f214ad4bc6978 100644
--- a/.github/workflows/jit.yml
+++ b/.github/workflows/jit.yml
@@ -83,8 +83,7 @@ jobs:
             runner: ubuntu-24.04
           - target: aarch64-unknown-linux-gnu/gcc
             architecture: aarch64
-            # Forks don't have access to our paid AArch64 runners. These jobs 
are skipped below:
-            runner: ${{ github.repository_owner == 'python' && 
'ubuntu-24.04-aarch64' || 'ubuntu-24.04' }}
+            runner: ubuntu-24.04-arm
     steps:
       - uses: actions/checkout@v4
         with:
@@ -123,8 +122,7 @@ jobs:
           ./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 
--verbose3
 
       - name: Native Linux
-        # Forks don't have access to our paid AArch64 runners. Skip those:
-        if: runner.os == 'Linux' && (matrix.architecture == 'x86_64' || 
github.repository_owner == 'python')
+        if: runner.os == 'Linux'
         run: |
           sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh 
${{ matrix.llvm }}
           export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 74b56f060342bf..fb44c27704d455 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -56,7 +56,7 @@ repos:
       - id: check-readthedocs
 
   - repo: https://github.com/rhysd/actionlint
-    rev: v1.7.6
+    rev: v1.7.7
     hooks:
       - id: actionlint
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to