File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 14
14
branches :
15
15
- main
16
16
- maintenance/**
17
+ workflow_dispatch :
17
18
18
19
defaults :
19
20
run :
@@ -28,8 +29,9 @@ permissions:
28
29
29
30
jobs :
30
31
linux_qemu :
31
- # To enable this workflow on a fork, comment out:
32
- if : github.repository == 'numpy/numpy'
32
+ # Only workflow_dispatch is enabled on forks.
33
+ # To enable this job and subsequent jobs on a fork for other events, comment out:
34
+ if : github.repository == 'numpy/numpy' || github.event_name == 'workflow_dispatch'
33
35
runs-on : ubuntu-22.04
34
36
continue-on-error : true
35
37
strategy :
@@ -107,7 +109,8 @@ jobs:
107
109
108
110
- name : Initialize binfmt_misc for qemu-user-static
109
111
run : |
110
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
112
+ # see https://hub.docker.com/r/tonistiigi/binfmt for available versions
113
+ docker run --rm --privileged tonistiigi/binfmt:qemu-v9.2.2-52 --install all
111
114
112
115
- name : Install GCC cross-compilers
113
116
run : |
@@ -176,4 +179,3 @@ jobs:
176
179
cd /numpy && spin test -- -k \"${RUNTIME_TEST_FILTER}\"
177
180
'"
178
181
179
-
You can’t perform that action at this time.
0 commit comments