4
4
jobs :
5
5
gcc-build :
6
6
runs-on : ${{ matrix.os }}
7
+ container :
8
+ image : ghcr.io/learning-process/ppc-ubuntu:latest
9
+ credentials :
10
+ username : ${{ github.actor }}
11
+ password : ${{ secrets.GITHUB_TOKEN }}
7
12
strategy :
8
13
matrix :
9
14
os : ["ubuntu-24.04", "ubuntu-24.04-arm"]
14
19
submodules : recursive
15
20
- name : Setup environment
16
21
run : |
17
- sudo apt-get update
18
- sudo apt-get install --no-install-recommends -y gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind
19
- python3 -m pip install -r requirements.txt
22
+ python3 -m pip install -r requirements.txt --break-system-packages --ignore-installed
20
23
- name : ccache
21
24
uses :
hendrikmuhs/[email protected]
22
25
with :
@@ -57,16 +60,19 @@ jobs:
57
60
needs :
58
61
- gcc-build
59
62
runs-on : ${{ matrix.os }}
63
+ container :
64
+ image : ghcr.io/learning-process/ppc-ubuntu:latest
65
+ credentials :
66
+ username : ${{ github.actor }}
67
+ password : ${{ secrets.GITHUB_TOKEN }}
60
68
strategy :
61
69
matrix :
62
70
os : ["ubuntu-24.04", "ubuntu-24.04-arm"]
63
71
steps :
64
72
- uses : actions/checkout@v4
65
73
- name : Setup environment
66
74
run : |
67
- sudo apt-get update
68
- sudo apt-get install --no-install-recommends -y gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind
69
- python3 -m pip install -r requirements.txt
75
+ python3 -m pip install -r requirements.txt --break-system-packages --ignore-installed
70
76
- name : Download installed package
71
77
uses : actions/download-artifact@v4
72
78
with :
76
82
mkdir -p install
77
83
tar -xzvf ubuntu-gcc-install-${{ matrix.os }}.tar.gz -C install
78
84
- name : Run func tests (MPI)
79
- run : scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
85
+ run : scripts/run_tests.py --running-type="processes" --counts 1 2 3 4 --additional-mpi-args="--oversubscribe"
80
86
env :
81
87
PPC_NUM_THREADS : 1
88
+ OMPI_ALLOW_RUN_AS_ROOT : 1
89
+ OMPI_ALLOW_RUN_AS_ROOT_CONFIRM : 1
82
90
- name : Run func tests (threads)
83
91
run : scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
84
92
env :
@@ -87,16 +95,19 @@ jobs:
87
95
needs :
88
96
- gcc-test
89
97
runs-on : ${{ matrix.os }}
98
+ container :
99
+ image : ghcr.io/learning-process/ppc-ubuntu:latest
100
+ credentials :
101
+ username : ${{ github.actor }}
102
+ password : ${{ secrets.GITHUB_TOKEN }}
90
103
strategy :
91
104
matrix :
92
105
os : ["ubuntu-24.04", "ubuntu-24.04-arm"]
93
106
steps :
94
107
- uses : actions/checkout@v4
95
108
- name : Setup environment
96
109
run : |
97
- sudo apt-get update
98
- sudo apt-get install --no-install-recommends -y gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind
99
- python3 -m pip install -r requirements.txt
110
+ python3 -m pip install -r requirements.txt --break-system-packages --ignore-installed
100
111
- name : Download installed package
101
112
uses : actions/download-artifact@v4
102
113
with :
@@ -111,20 +122,18 @@ jobs:
111
122
PPC_NUM_PROC : 1
112
123
clang-build :
113
124
runs-on : ${{ matrix.os }}
125
+ container :
126
+ image : ghcr.io/learning-process/ppc-ubuntu:latest
127
+ credentials :
128
+ username : ${{ github.actor }}
129
+ password : ${{ secrets.GITHUB_TOKEN }}
114
130
strategy :
115
131
matrix :
116
132
os : ["ubuntu-24.04", "ubuntu-24.04-arm"]
117
133
steps :
118
134
- uses : actions/checkout@v4
119
135
with :
120
136
submodules : recursive
121
- - name : Setup environment
122
- run : |
123
- sudo apt-get update
124
- sudo apt-get install --no-install-recommends -y ninja-build libmpich-dev python3-pip valgrind
125
- wget https://apt.llvm.org/llvm.sh
126
- chmod u+x llvm.sh
127
- sudo ./llvm.sh 20 all
128
137
- name : ccache
129
138
uses :
hendrikmuhs/[email protected]
130
139
with :
@@ -157,18 +166,16 @@ jobs:
157
166
needs :
158
167
- clang-build
159
168
runs-on : ${{ matrix.os }}
169
+ container :
170
+ image : ghcr.io/learning-process/ppc-ubuntu:latest
171
+ credentials :
172
+ username : ${{ github.actor }}
173
+ password : ${{ secrets.GITHUB_TOKEN }}
160
174
strategy :
161
175
matrix :
162
176
os : ["ubuntu-24.04", "ubuntu-24.04-arm"]
163
177
steps :
164
178
- uses : actions/checkout@v4
165
- - name : Setup environment
166
- run : |
167
- sudo apt-get update
168
- sudo apt-get install --no-install-recommends -y ninja-build libmpich-dev python3-pip valgrind
169
- wget https://apt.llvm.org/llvm.sh
170
- chmod u+x llvm.sh
171
- sudo ./llvm.sh 20 all
172
179
- name : Download installed package
173
180
uses : actions/download-artifact@v4
174
181
with :
@@ -178,9 +185,11 @@ jobs:
178
185
mkdir -p install
179
186
tar -xzvf ubuntu-clang-install-${{ matrix.os }}.tar.gz -C install
180
187
- name : Run func tests (MPI)
181
- run : scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
188
+ run : scripts/run_tests.py --running-type="processes" --counts 1 2 3 4 --additional-mpi-args="--oversubscribe"
182
189
env :
183
190
PPC_NUM_THREADS : 1
191
+ OMPI_ALLOW_RUN_AS_ROOT : 1
192
+ OMPI_ALLOW_RUN_AS_ROOT_CONFIRM : 1
184
193
- name : Run tests (threads)
185
194
run : scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
186
195
env :
@@ -189,18 +198,16 @@ jobs:
189
198
needs :
190
199
- clang-test
191
200
runs-on : ${{ matrix.os }}
201
+ container :
202
+ image : ghcr.io/learning-process/ppc-ubuntu:latest
203
+ credentials :
204
+ username : ${{ github.actor }}
205
+ password : ${{ secrets.GITHUB_TOKEN }}
192
206
strategy :
193
207
matrix :
194
208
os : ["ubuntu-24.04", "ubuntu-24.04-arm"]
195
209
steps :
196
210
- uses : actions/checkout@v4
197
- - name : Setup environment
198
- run : |
199
- sudo apt-get update
200
- sudo apt-get install --no-install-recommends -y ninja-build libmpich-dev python3-pip valgrind
201
- wget https://apt.llvm.org/llvm.sh
202
- chmod u+x llvm.sh
203
- sudo ./llvm.sh 20 all
204
211
- name : Download installed package
205
212
uses : actions/download-artifact@v4
206
213
with :
@@ -217,21 +224,18 @@ jobs:
217
224
needs :
218
225
- clang-build
219
226
runs-on : ${{ matrix.os }}
227
+ container :
228
+ image : ghcr.io/learning-process/ppc-ubuntu:latest
229
+ credentials :
230
+ username : ${{ github.actor }}
231
+ password : ${{ secrets.GITHUB_TOKEN }}
220
232
strategy :
221
233
matrix :
222
234
os : ["ubuntu-24.04"]
223
235
steps :
224
236
- uses : actions/checkout@v4
225
237
with :
226
238
submodules : recursive
227
- - name : Setup environment
228
- run : |
229
- sudo apt-get update
230
- sudo apt-get install --no-install-recommends -y ninja-build python3-pip \
231
- openmpi-bin openmpi-common libopenmpi-dev
232
- wget https://apt.llvm.org/llvm.sh
233
- chmod u+x llvm.sh
234
- sudo ./llvm.sh 20 all
235
239
- name : ccache
236
240
uses :
hendrikmuhs/[email protected]
237
241
with :
@@ -266,19 +270,16 @@ jobs:
266
270
needs :
267
271
- clang-sanitizer-build
268
272
runs-on : ${{ matrix.os }}
273
+ container :
274
+ image : ghcr.io/learning-process/ppc-ubuntu:latest
275
+ credentials :
276
+ username : ${{ github.actor }}
277
+ password : ${{ secrets.GITHUB_TOKEN }}
269
278
strategy :
270
279
matrix :
271
280
os : ["ubuntu-24.04"]
272
281
steps :
273
282
- uses : actions/checkout@v4
274
- - name : Setup environment
275
- run : |
276
- sudo apt-get update
277
- sudo apt-get install --no-install-recommends -y ninja-build python3-pip valgrind \
278
- openmpi-bin openmpi-common libopenmpi-dev
279
- wget https://apt.llvm.org/llvm.sh
280
- chmod u+x llvm.sh
281
- sudo ./llvm.sh 20 all
282
283
- name : Download installed package
283
284
uses : actions/download-artifact@v4
284
285
with :
@@ -294,6 +295,8 @@ jobs:
294
295
PPC_ASAN_RUN : 1
295
296
ASAN_OPTIONS : abort_on_error=1
296
297
UBSAN_OPTIONS : halt_on_error=1
298
+ OMPI_ALLOW_RUN_AS_ROOT : 1
299
+ OMPI_ALLOW_RUN_AS_ROOT_CONFIRM : 1
297
300
- name : Run tests (threads)
298
301
run : scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
299
302
env :
@@ -305,19 +308,16 @@ jobs:
305
308
needs :
306
309
- clang-sanitizer-test
307
310
runs-on : ${{ matrix.os }}
311
+ container :
312
+ image : ghcr.io/learning-process/ppc-ubuntu:latest
313
+ credentials :
314
+ username : ${{ github.actor }}
315
+ password : ${{ secrets.GITHUB_TOKEN }}
308
316
strategy :
309
317
matrix :
310
318
os : ["ubuntu-24.04"]
311
319
steps :
312
320
- uses : actions/checkout@v4
313
- - name : Setup environment
314
- run : |
315
- sudo apt-get update
316
- sudo apt-get install --no-install-recommends -y ninja-build python3-pip valgrind \
317
- openmpi-bin openmpi-common libopenmpi-dev
318
- wget https://apt.llvm.org/llvm.sh
319
- chmod u+x llvm.sh
320
- sudo ./llvm.sh 20 all
321
321
- name : Download installed package
322
322
uses : actions/download-artifact@v4
323
323
with :
@@ -336,15 +336,15 @@ jobs:
336
336
- gcc-test-extended
337
337
- clang-test-extended
338
338
runs-on : ubuntu-24.04
339
+ container :
340
+ image : ghcr.io/learning-process/ppc-ubuntu:latest
341
+ credentials :
342
+ username : ${{ github.actor }}
343
+ password : ${{ secrets.GITHUB_TOKEN }}
339
344
steps :
340
345
- uses : actions/checkout@v4
341
346
with :
342
347
submodules : recursive
343
- - name : Setup environment
344
- run : |
345
- sudo apt-get update
346
- sudo apt-get install --no-install-recommends -y \
347
- gcc-14 g++-14 ninja-build libmpich-dev libomp-dev valgrind gcovr
348
348
- name : ccache
349
349
uses :
hendrikmuhs/[email protected]
350
350
with :
@@ -361,10 +361,12 @@ jobs:
361
361
run : |
362
362
cmake --build build --parallel
363
363
- name : Run tests (MPI)
364
- run : scripts/run_tests.py --running-type="processes"
364
+ run : scripts/run_tests.py --running-type="processes" --additional-mpi-args="--oversubscribe"
365
365
env :
366
366
PPC_NUM_PROC : 2
367
367
PPC_NUM_THREADS : 2
368
+ OMPI_ALLOW_RUN_AS_ROOT : 1
369
+ OMPI_ALLOW_RUN_AS_ROOT_CONFIRM : 1
368
370
- name : Run tests (threads)
369
371
run : scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
370
372
env :
@@ -373,7 +375,8 @@ jobs:
373
375
run : |
374
376
mkdir cov-report
375
377
cd build
376
- gcovr -r ../ \
378
+ gcovr --gcov-executable `which gcov-14`
379
+ -r ../ \
377
380
--exclude '.*3rdparty/.*' \
378
381
--exclude '/usr/.*' \
379
382
--exclude '.*tasks/.*/tests/.*' \
0 commit comments