@@ -143,7 +143,9 @@ jobs:
143
143
security-events : write
144
144
145
145
runs-on : ${{ matrix.config.os-image }}
146
- container : ${{ matrix.config.docker-image }}
146
+ # For Linux, don't run all steps in container anymore to avoid issue with glibc versions.
147
+ # See https://github.com/actions/checkout/issues/1809.
148
+ # container: ${{ matrix.config.docker-image }}
147
149
148
150
steps :
149
151
- uses : actions/checkout@v3
@@ -152,14 +154,16 @@ jobs:
152
154
153
155
- name : Initialize CodeQL
154
156
if : matrix.config.python-version == '3.10'
155
- uses : github/codeql-action/init@v2
157
+ uses : github/codeql-action/init@v3
156
158
with :
157
159
languages : python, cpp
158
160
setup-python-dependencies : false
159
161
160
162
- name : Build wheel (Linux)
161
163
if : matrix.config.os-name == 'linux'
162
- run : .github/scripts/build-linux.sh
164
+ # See comment above.
165
+ # run: .github/scripts/build-linux.sh
166
+ run : docker run --rm -e PYTHON_VERSION -e NUMPY_VERSION -v `pwd`:/io ${{ matrix.config.docker-image }} /io/.github/scripts/build-linux.sh
163
167
env :
164
168
PYTHON_VERSION : ${{ matrix.config.python-version }}
165
169
NUMPY_VERSION : ${{ matrix.config.numpy-version }}
@@ -196,7 +200,7 @@ jobs:
196
200
197
201
- name : Perform CodeQL Analysis
198
202
if : matrix.config.python-version == '3.10'
199
- uses : github/codeql-action/analyze@v2
203
+ uses : github/codeql-action/analyze@v3
200
204
with :
201
205
category : ${{ matrix.config.os-name }}
202
206
@@ -310,7 +314,7 @@ jobs:
310
314
numpy-version : ' 1.26.*'
311
315
312
316
runs-on : ${{ matrix.config.os-image }}
313
- container : ${{ matrix.config.docker-image }}
317
+ # container: ${{ matrix.config.docker-image }}
314
318
315
319
needs : build
316
320
@@ -327,7 +331,8 @@ jobs:
327
331
328
332
- name : Test wheel (Linux)
329
333
if : matrix.config.os-name == 'linux'
330
- run : .github/scripts/test-linux.sh
334
+ # run: .github/scripts/test-linux.sh
335
+ run : docker run --rm -e PYTHON_VERSION -v `pwd`:/io ${{ matrix.config.docker-image }} /io/.github/scripts/test-linux.sh
331
336
env :
332
337
PYTHON_VERSION : ${{ matrix.config.python-version }}
333
338
0 commit comments