]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Move to public Linux arm64 hosted runners (#128964)
authorDiego Russo <diego.russo@arm.com>
Mon, 20 Jan 2025 16:51:09 +0000 (16:51 +0000)
committerGitHub <noreply@github.com>
Mon, 20 Jan 2025 16:51:09 +0000 (18:51 +0200)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
.github/actionlint.yaml
.github/workflows/build.yml
.github/workflows/jit.yml
.pre-commit-config.yaml

index 3701f7297ffeb2d565ab11a9bedf2bc5ad907422..af125266ae78132f67c7abbec2815e3e5d83e156 100644 (file)
@@ -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)
index 8a70cde3d8bc132ecebeb732eca915807c1b9ebc..6667512369716d2958096ad02ef0d684b6e05ae2 100644 (file)
@@ -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:
index 9b84998a55666d2ea2fd6495549ec8c33811d58f..6f214ad4bc69780d72194a0e3a90d252af415027 100644 (file)
@@ -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"
index 74b56f060342bf4c55cd1b577bd863d7ca8acdda..fb44c27704d455b856575546ac2d1e00701a1ec9 100644 (file)
@@ -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