@@ -20,10 +20,10 @@ jobs:
20
20
fail-fast : false
21
21
matrix :
22
22
jobname : [
23
- GCC9 -NoMPI-MKL-Real-Mixed, # mixed precision
24
- GCC9 -NoMPI-MKL-Complex-Mixed,
25
- GCC9 -NoMPI-MKL-Real, # full precision
26
- GCC9 -NoMPI-MKL-Complex,
23
+ GCC11 -NoMPI-MKL-Real-Mixed, # mixed precision
24
+ GCC11 -NoMPI-MKL-Complex-Mixed,
25
+ GCC11 -NoMPI-MKL-Real, # full precision
26
+ GCC11 -NoMPI-MKL-Complex,
27
27
]
28
28
29
29
steps :
36
36
if : contains(env.SECRET_ACTORS, env.ACTOR_TOKEN)
37
37
id : check
38
38
run : |
39
- echo "::set-output name= triggered:: true"
39
+ echo "triggered= true" >> $GITHUB_OUTPUT
40
40
41
41
# Request repo info, required since issue_comment doesn't point at PR commit, but develop
42
42
- name : GitHub API Request
@@ -64,10 +64,10 @@ jobs:
64
64
if : steps.check.outputs.triggered == 'true'
65
65
id : pr_data
66
66
run : |
67
- echo "::set-output name= branch:: ${{ fromJson(steps.request.outputs.data).head.ref }}"
68
- echo "::set-output name= repo_name:: ${{ fromJson(steps.request.outputs.data).head.repo.full_name }}"
69
- echo "::set-output name= repo_clone_url:: ${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}"
70
- echo "::set-output name= repo_ssh_url:: ${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}"
67
+ echo "branch= ${{ fromJson(steps.request.outputs.data).head.ref }}" >> $GITHUB_OUTPUT
68
+ echo "repo_name= ${{ fromJson(steps.request.outputs.data).head.repo.full_name }}" >> $GITHUB_OUTPUT
69
+ echo "repo_clone_url= ${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}" >> $GITHUB_OUTPUT
70
+ echo "repo_ssh_url= ${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}" >> $GITHUB_OUTPUT
71
71
72
72
- name : Checkout PR branch
73
73
if : steps.check.outputs.triggered == 'true'
@@ -79,15 +79,15 @@ jobs:
79
79
80
80
- name : Configure
81
81
if : steps.check.outputs.triggered == 'true'
82
- run : tests/test_automation/github-actions/ci/run_step .sh configure
82
+ run : tests/test_automation/github-actions/ci/run_step_ornl-sulfur-1 .sh configure
83
83
84
84
- name : Build
85
85
if : steps.check.outputs.triggered == 'true'
86
- run : tests/test_automation/github-actions/ci/run_step .sh build
86
+ run : tests/test_automation/github-actions/ci/run_step_ornl-sulfur-1 .sh build
87
87
88
88
- name : Test
89
89
if : steps.check.outputs.triggered == 'true'
90
- run : tests/test_automation/github-actions/ci/run_step .sh test
90
+ run : tests/test_automation/github-actions/ci/run_step_ornl-sulfur-1 .sh test
91
91
92
92
- name : Report PR status
93
93
if : always() && steps.check.outputs.triggered == 'true'
@@ -115,17 +115,14 @@ jobs:
115
115
fail-fast : false
116
116
matrix :
117
117
jobname : [
118
- GCC9-NoMPI-Legacy-CUDA-Real-Mixed, # mixed precision
119
- GCC9-NoMPI-Legacy-CUDA-Complex-Mixed,
120
- GCC9-NoMPI-Legacy-CUDA-Real, # full precision
121
- GCC9-NoMPI-Legacy-CUDA-Complex,
122
- Clang15-MPI-CUDA-AFQMC-Offload-Real-Mixed, # auxiliary field, offload
123
- Clang15-MPI-CUDA-AFQMC-Offload-Real,
124
- Clang15-MPI-CUDA-AFQMC-Offload-Complex-Mixed,
125
- Clang15-MPI-CUDA-AFQMC-Offload-Complex,
126
- Intel21-MPI-CUDA-AFQMC-Real-Mixed, # auxiliary field, requires MPI
127
- Intel21-MPI-CUDA-AFQMC-Complex-Mixed,
128
- Intel21-MPI-CUDA-AFQMC-Real,
118
+ V100-Clang16-MPI-CUDA-AFQMC-Offload-Real-Mixed, # auxiliary field, offload
119
+ V100-Clang16-MPI-CUDA-AFQMC-Offload-Real,
120
+ V100-Clang16-MPI-CUDA-AFQMC-Offload-Complex-Mixed,
121
+ V100-Clang16-MPI-CUDA-AFQMC-Offload-Complex,
122
+ V100-GCC11-MPI-CUDA-Real-Mixed,
123
+ V100-GCC11-MPI-CUDA-Real,
124
+ V100-GCC11-MPI-CUDA-Complex-Mixed,
125
+ V100-GCC11-MPI-CUDA-Complex,
129
126
]
130
127
131
128
steps :
@@ -138,7 +135,7 @@ jobs:
138
135
if : contains(env.SECRET_ACTORS, env.ACTOR_TOKEN)
139
136
id : check
140
137
run : |
141
- echo "::set-output name= triggered:: true"
138
+ echo "triggered= true" >> $GITHUB_OUTPUT
142
139
143
140
# Request repo info, required since issue_comment doesn't point at PR commit, but develop
144
141
- name : GitHub API Request
@@ -166,10 +163,10 @@ jobs:
166
163
if : steps.check.outputs.triggered == 'true'
167
164
id : pr_data
168
165
run : |
169
- echo "::set-output name= branch:: ${{ fromJson(steps.request.outputs.data).head.ref }}"
170
- echo "::set-output name= repo_name:: ${{ fromJson(steps.request.outputs.data).head.repo.full_name }}"
171
- echo "::set-output name= repo_clone_url:: ${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}"
172
- echo "::set-output name= repo_ssh_url:: ${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}"
166
+ echo "branch= ${{ fromJson(steps.request.outputs.data).head.ref }}" >> $GITHUB_OUTPUT
167
+ echo "repo_name= ${{ fromJson(steps.request.outputs.data).head.repo.full_name }}" >> $GITHUB_OUTPUT
168
+ echo "repo_clone_url= ${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}" >> $GITHUB_OUTPUT
169
+ echo "repo_ssh_url= ${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}" >> $GITHUB_OUTPUT
173
170
174
171
- name : Checkout PR branch
175
172
if : steps.check.outputs.triggered == 'true'
@@ -181,15 +178,15 @@ jobs:
181
178
182
179
- name : Configure
183
180
if : steps.check.outputs.triggered == 'true'
184
- run : tests/test_automation/github-actions/ci/run_step .sh configure
181
+ run : tests/test_automation/github-actions/ci/run_step_ornl-sulfur-2 .sh configure
185
182
186
183
- name : Build
187
184
if : steps.check.outputs.triggered == 'true'
188
- run : tests/test_automation/github-actions/ci/run_step .sh build
185
+ run : tests/test_automation/github-actions/ci/run_step_ornl-sulfur-2 .sh build
189
186
190
187
- name : Test
191
188
if : steps.check.outputs.triggered == 'true'
192
- run : tests/test_automation/github-actions/ci/run_step .sh test
189
+ run : tests/test_automation/github-actions/ci/run_step_ornl-sulfur-2 .sh test
193
190
194
191
- name : Report PR status
195
192
if : always() && steps.check.outputs.triggered == 'true'
@@ -218,14 +215,10 @@ jobs:
218
215
matrix :
219
216
jobname :
220
217
[
221
- ROCm-Clang13-NoMPI-CUDA2HIP-Real-Mixed,
222
- ROCm-Clang13-NoMPI-CUDA2HIP-Real,
223
- ROCm-Clang13-NoMPI-CUDA2HIP-Complex-Mixed,
224
- ROCm-Clang13-NoMPI-CUDA2HIP-Complex,
225
- ROCm-Clang13-MPI-Legacy-CUDA2HIP-Real-Mixed,
226
- ROCm-Clang13-MPI-Legacy-CUDA2HIP-Real,
227
- ROCm-Clang13-MPI-Legacy-CUDA2HIP-Complex-Mixed,
228
- ROCm-Clang13-MPI-Legacy-CUDA2HIP-Complex,
218
+ RadeonVII-ROCm-NoMPI-CUDA2HIP-Real-Mixed,
219
+ RadeonVII-ROCm-NoMPI-CUDA2HIP-Real,
220
+ RadeonVII-ROCm-NoMPI-CUDA2HIP-Complex-Mixed,
221
+ RadeonVII-ROCm-NoMPI-CUDA2HIP-Complex,
229
222
]
230
223
231
224
steps :
@@ -238,7 +231,7 @@ jobs:
238
231
if : contains(env.SECRET_ACTORS, env.ACTOR_TOKEN)
239
232
id : check
240
233
run : |
241
- echo "::set-output name= triggered:: true"
234
+ echo "triggered= true" >> $GITHUB_OUTPUT
242
235
243
236
# Request repo info, required since issue_comment doesn't point at PR commit, but develop
244
237
- name : GitHub API Request
@@ -266,10 +259,10 @@ jobs:
266
259
if : steps.check.outputs.triggered == 'true'
267
260
id : pr_data
268
261
run : |
269
- echo "::set-output name= branch:: ${{ fromJson(steps.request.outputs.data).head.ref }}"
270
- echo "::set-output name= repo_name:: ${{ fromJson(steps.request.outputs.data).head.repo.full_name }}"
271
- echo "::set-output name= repo_clone_url:: ${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}"
272
- echo "::set-output name= repo_ssh_url:: ${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}"
262
+ echo "branch= ${{ fromJson(steps.request.outputs.data).head.ref }}" >> $GITHUB_OUTPUT
263
+ echo "repo_name= ${{ fromJson(steps.request.outputs.data).head.repo.full_name }}" >> $GITHUB_OUTPUT
264
+ echo "repo_clone_url= ${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}" >> $GITHUB_OUTPUT
265
+ echo "repo_ssh_url= ${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}" >> $GITHUB_OUTPUT
273
266
274
267
- name : Checkout PR branch
275
268
if : steps.check.outputs.triggered == 'true'
@@ -281,110 +274,15 @@ jobs:
281
274
282
275
- name : Configure
283
276
if : steps.check.outputs.triggered == 'true'
284
- run : tests/test_automation/github-actions/ci/run_step .sh configure
277
+ run : tests/test_automation/github-actions/ci/run_step_ornl-nitrogen-1 .sh configure
285
278
286
279
- name : Build
287
280
if : steps.check.outputs.triggered == 'true'
288
- run : tests/test_automation/github-actions/ci/run_step .sh build
281
+ run : tests/test_automation/github-actions/ci/run_step_ornl-nitrogen-1 .sh build
289
282
290
283
- name : Test
291
284
if : steps.check.outputs.triggered == 'true'
292
- run : tests/test_automation/github-actions/ci/run_step.sh test
293
-
294
- - name : Report PR status
295
- if : always() && steps.check.outputs.triggered == 'true'
296
-
297
- with :
298
- authToken : ${{secrets.GITHUB_TOKEN}}
299
- context : " ornl-nitrogen CI ${{matrix.jobname}}"
300
- state : ${{job.status}}
301
- sha : ${{fromJson(steps.request.outputs.data).head.sha}}
302
- target_url : https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
303
-
304
- nitrogen-cuda :
305
- if : |
306
- github.repository_owner == 'QMCPACK' &&
307
- github.event.issue.pull_request &&
308
- ( startsWith(github.event.comment.body, 'Test this please') ||
309
- startsWith(github.event.comment.body, 'Start testing in-house') )
310
-
311
- runs-on : [self-hosted, Linux, X64, ornl-nitrogen-2]
312
-
313
- env :
314
- GH_JOBNAME : ${{matrix.jobname}}
315
- GH_OS : Linux
316
- strategy :
317
- fail-fast : false
318
- matrix :
319
- jobname : [
320
- GCC9-MPI-CUDA-AFQMC-Real-Mixed, # auxiliary field, requires MPI
321
- GCC9-MPI-CUDA-AFQMC-Complex-Mixed,
322
- GCC9-MPI-CUDA-AFQMC-Real,
323
- GCC9-MPI-CUDA-AFQMC-Complex,
324
- ]
325
-
326
- steps :
327
- - name : Verify actor
328
- # Only trigger for certain "actors" (those commenting the PR, not the PR originator)
329
- # this is in-line with the current workflow
330
- env :
331
- ACTOR_TOKEN : ${{secrets.TOKENIZER}}${{github.actor}}${{secrets.TOKENIZER}}
332
- SECRET_ACTORS : ${{secrets.CI_GPU_ACTORS}}
333
- if : contains(env.SECRET_ACTORS, env.ACTOR_TOKEN)
334
- id : check
335
- run : |
336
- echo "::set-output name=triggered::true"
337
-
338
- # Request repo info, required since issue_comment doesn't point at PR commit, but develop
339
- - name : GitHub API Request
340
- if : steps.check.outputs.triggered == 'true'
341
- id : request
342
-
343
- with :
344
- route : ${{github.event.issue.pull_request.url}}
345
- env :
346
- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
347
-
348
- # Create a separate PR status pointing at GitHub Actions tab URL
349
- # just like any other third-party service
350
- - name : Create PR status
351
- if : steps.check.outputs.triggered == 'true'
352
-
353
- with :
354
- authToken : ${{secrets.GITHUB_TOKEN}}
355
- context : " ornl-nitrogen CI ${{matrix.jobname}}"
356
- state : " pending"
357
- sha : ${{fromJson(steps.request.outputs.data).head.sha}}
358
- target_url : https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
359
-
360
- - name : Get PR information
361
- if : steps.check.outputs.triggered == 'true'
362
- id : pr_data
363
- run : |
364
- echo "::set-output name=branch::${{ fromJson(steps.request.outputs.data).head.ref }}"
365
- echo "::set-output name=repo_name::${{ fromJson(steps.request.outputs.data).head.repo.full_name }}"
366
- echo "::set-output name=repo_clone_url::${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}"
367
- echo "::set-output name=repo_ssh_url::${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}"
368
-
369
- - name : Checkout PR branch
370
- if : steps.check.outputs.triggered == 'true'
371
- uses : actions/checkout@v3
372
- with :
373
- token : ${{secrets.GITHUB_TOKEN}}
374
- repository : ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
375
- ref : ${{steps.pr_data.outputs.branch}}
376
-
377
- - name : Configure
378
- if : steps.check.outputs.triggered == 'true'
379
- run : tests/test_automation/github-actions/ci/run_step.sh configure
380
-
381
- - name : Build
382
- if : steps.check.outputs.triggered == 'true'
383
- run : tests/test_automation/github-actions/ci/run_step.sh build
384
-
385
- - name : Test
386
- if : steps.check.outputs.triggered == 'true'
387
- run : tests/test_automation/github-actions/ci/run_step.sh test
285
+ run : tests/test_automation/github-actions/ci/run_step_ornl-nitrogen-1.sh test
388
286
389
287
- name : Report PR status
390
288
if : always() && steps.check.outputs.triggered == 'true'
0 commit comments