Skip to content

Commit b8770f4

Browse files
committed
Don't use AArch64 runners for forks
1 parent cd5b7ff commit b8770f4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/jit.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ jobs:
6262
- false
6363
llvm:
6464
- 19
65+
is-fork: # only used for the exclusion trick
66+
- ${{ github.repository_owner != 'python' }}
67+
exclude:
68+
- target: aarch64-unknown-linux-gnu/gcc
69+
is-fork: true
70+
- target: aarch64-unknown-linux-gnu/clang
71+
is-fork: true
6572
include:
6673
- target: i686-pc-windows-msvc/msvc
6774
architecture: Win32
@@ -95,12 +102,10 @@ jobs:
95102
architecture: aarch64
96103
runner: ubuntu-24.04-aarch64
97104
compiler: gcc
98-
if: ${{ github.repository_owner == 'python' }}
99105
- target: aarch64-unknown-linux-gnu/clang
100106
architecture: aarch64
101107
runner: ubuntu-24.04-aarch64
102108
compiler: clang
103-
if: ${{ github.repository_owner == 'python' }}
104109
env:
105110
CC: ${{ matrix.compiler }}
106111
steps:

0 commit comments

Comments
 (0)