Skip to content

Commit 44a7f7e

Browse files
authored
Merge pull request #5803 from QMCPACK/rc_420
Release candidate for v4.2.0
2 parents c32123a + aa95e5e commit 44a7f7e

1,224 files changed

Lines changed: 26632 additions & 17617 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci-github-actions-self-hosted.yaml

Lines changed: 106 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: GitHub API Request
4343
if: steps.check.outputs.triggered == 'true'
4444
id: request
45-
uses: octokit/request-action@v2.1.7
45+
uses: octokit/request-action@v2.4.0
4646
with:
4747
route: ${{github.event.issue.pull_request.url}}
4848
env:
@@ -52,7 +52,7 @@ jobs:
5252
# just like any other third-party service
5353
- name: Create PR status
5454
if: steps.check.outputs.triggered == 'true'
55-
uses: guibranco/github-status-action-v2@v1.1.7
55+
uses: guibranco/github-status-action-v2@v1.1.14
5656
with:
5757
authToken: ${{secrets.GITHUB_TOKEN}}
5858
context: "ornl-sulfur CI ${{ matrix.jobname }}"
@@ -91,7 +91,7 @@ jobs:
9191

9292
- name: Report PR status
9393
if: always() && steps.check.outputs.triggered == 'true'
94-
uses: guibranco/github-status-action-v2@v1.1.7
94+
uses: guibranco/github-status-action-v2@v1.1.14
9595
with:
9696
authToken: ${{secrets.GITHUB_TOKEN}}
9797
context: "ornl-sulfur CI ${{matrix.jobname}}"
@@ -141,7 +141,7 @@ jobs:
141141
- name: GitHub API Request
142142
if: steps.check.outputs.triggered == 'true'
143143
id: request
144-
uses: octokit/request-action@v2.1.7
144+
uses: octokit/request-action@v2.4.0
145145
with:
146146
route: ${{github.event.issue.pull_request.url}}
147147
env:
@@ -151,7 +151,7 @@ jobs:
151151
# just like any other third-party service
152152
- name: Create PR status
153153
if: steps.check.outputs.triggered == 'true'
154-
uses: guibranco/github-status-action-v2@v1.1.7
154+
uses: guibranco/github-status-action-v2@v1.1.14
155155
with:
156156
authToken: ${{secrets.GITHUB_TOKEN}}
157157
context: "ornl-sulfur CI ${{ matrix.jobname }}"
@@ -190,7 +190,7 @@ jobs:
190190

191191
- name: Report PR status
192192
if: always() && steps.check.outputs.triggered == 'true'
193-
uses: guibranco/github-status-action-v2@v1.1.7
193+
uses: guibranco/github-status-action-v2@v1.1.14
194194
with:
195195
authToken: ${{secrets.GITHUB_TOKEN}}
196196
context: "ornl-sulfur CI ${{matrix.jobname}}"
@@ -237,7 +237,7 @@ jobs:
237237
- name: GitHub API Request
238238
if: steps.check.outputs.triggered == 'true'
239239
id: request
240-
uses: octokit/request-action@v2.1.7
240+
uses: octokit/request-action@v2.4.0
241241
with:
242242
route: ${{github.event.issue.pull_request.url}}
243243
env:
@@ -247,7 +247,7 @@ jobs:
247247
# just like any other third-party service
248248
- name: Create PR status
249249
if: steps.check.outputs.triggered == 'true'
250-
uses: guibranco/github-status-action-v2@v1.1.7
250+
uses: guibranco/github-status-action-v2@v1.1.14
251251
with:
252252
authToken: ${{secrets.GITHUB_TOKEN}}
253253
context: "ornl-nitrogen CI ${{matrix.jobname}}"
@@ -286,10 +286,107 @@ jobs:
286286

287287
- name: Report PR status
288288
if: always() && steps.check.outputs.triggered == 'true'
289-
uses: guibranco/github-status-action-v2@v1.1.7
289+
uses: guibranco/github-status-action-v2@v1.1.14
290290
with:
291291
authToken: ${{secrets.GITHUB_TOKEN}}
292292
context: "ornl-nitrogen CI ${{matrix.jobname}}"
293293
state: ${{job.status}}
294294
sha: ${{fromJson(steps.request.outputs.data).head.sha}}
295295
target_url: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
296+
297+
nitrogen2-amdclang:
298+
if: |
299+
github.repository_owner == 'QMCPACK' &&
300+
github.event.issue.pull_request &&
301+
( startsWith(github.event.comment.body, 'Test this please') ||
302+
startsWith(github.event.comment.body, 'Start testing in-house') )
303+
304+
runs-on: [self-hosted, Linux, X64, ornl-nitrogen2]
305+
306+
env:
307+
GH_JOBNAME: ${{matrix.jobname}}
308+
GH_OS: Linux
309+
strategy:
310+
fail-fast: false
311+
matrix:
312+
jobname:
313+
[
314+
MI210-AMDClang-NoMPI-Offload-Real-Mixed,
315+
MI210-AMDClang-NoMPI-Offload-Real,
316+
MI210-AMDClang-NoMPI-Offload-Complex-Mixed,
317+
MI210-AMDClang-NoMPI-Offload-Complex,
318+
]
319+
320+
steps:
321+
- name: Verify actor
322+
# Only trigger for certain "actors" (those commenting the PR, not the PR originator)
323+
# this is in-line with the current workflow
324+
env:
325+
ACTOR_TOKEN: ${{secrets.TOKENIZER}}${{github.actor}}${{secrets.TOKENIZER}}
326+
SECRET_ACTORS: ${{secrets.CI_GPU_ACTORS}}
327+
if: contains(env.SECRET_ACTORS, env.ACTOR_TOKEN)
328+
id: check
329+
run: |
330+
echo "triggered=true" >> $GITHUB_OUTPUT
331+
332+
# Request repo info, required since issue_comment doesn't point at PR commit, but develop
333+
- name: GitHub API Request
334+
if: steps.check.outputs.triggered == 'true'
335+
id: request
336+
uses: octokit/request-action@v2.4.0
337+
with:
338+
route: ${{github.event.issue.pull_request.url}}
339+
env:
340+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
341+
342+
# Create a separate PR status pointing at GitHub Actions tab URL
343+
# just like any other third-party service
344+
- name: Create PR status
345+
if: steps.check.outputs.triggered == 'true'
346+
uses: guibranco/github-status-action-v2@v1.1.14
347+
with:
348+
authToken: ${{secrets.GITHUB_TOKEN}}
349+
context: "ornl-nitrogen2 CI ${{matrix.jobname}}"
350+
state: "pending"
351+
sha: ${{fromJson(steps.request.outputs.data).head.sha}}
352+
target_url: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
353+
354+
- name: Get PR information
355+
if: steps.check.outputs.triggered == 'true'
356+
id: pr_data
357+
run: |
358+
echo "branch=${{ fromJson(steps.request.outputs.data).head.ref }}" >> $GITHUB_OUTPUT
359+
echo "repo_name=${{ fromJson(steps.request.outputs.data).head.repo.full_name }}" >> $GITHUB_OUTPUT
360+
echo "repo_clone_url=${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}" >> $GITHUB_OUTPUT
361+
echo "repo_ssh_url=${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}" >> $GITHUB_OUTPUT
362+
363+
- name: Checkout PR branch
364+
if: steps.check.outputs.triggered == 'true'
365+
uses: actions/checkout@v4
366+
with:
367+
token: ${{secrets.GITHUB_TOKEN}}
368+
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
369+
ref: ${{steps.pr_data.outputs.branch}}
370+
371+
- name: Configure
372+
if: steps.check.outputs.triggered == 'true'
373+
run: tests/test_automation/github-actions/ci/run_step_ornl-nitrogen2.sh configure
374+
375+
- name: Build
376+
if: steps.check.outputs.triggered == 'true'
377+
run: tests/test_automation/github-actions/ci/run_step_ornl-nitrogen2.sh build
378+
379+
- name: Test
380+
if: steps.check.outputs.triggered == 'true'
381+
run: tests/test_automation/github-actions/ci/run_step_ornl-nitrogen2.sh test
382+
383+
- name: Report PR status
384+
if: always() && steps.check.outputs.triggered == 'true'
385+
uses: guibranco/github-status-action-v2@v1.1.14
386+
with:
387+
authToken: ${{secrets.GITHUB_TOKEN}}
388+
context: "ornl-nitrogen2 CI ${{matrix.jobname}}"
389+
state: ${{job.status}}
390+
sha: ${{fromJson(steps.request.outputs.data).head.sha}}
391+
target_url: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
392+

.github/workflows/ci-github-actions.yaml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
if: contains(matrix.jobname, 'Gcov') && github.repository_owner == 'QMCPACK'
142142
uses: codecov/codecov-action@v5
143143
with:
144-
files: ../qmcpack-build/coverage.xml
144+
files: ../qmcpack-build/coverage.xml,../qmcpack-build/python_coverage.xml
145145
flags: tests-deterministic # optional
146146
name: codecov-QMCPACK # optional
147147
fail_ci_if_error: true # optional (default = false)
@@ -172,7 +172,7 @@ jobs:
172172
run: |
173173
brew upgrade || brew link --overwrite python@3.12
174174
brew install gcc@14 ninja hdf5 fftw boost
175-
python3 -m pip install numpy==1.26.4 h5py pandas
175+
python3 -m pip install numpy h5py
176176
177177
- name: Configure
178178
run: tests/test_automation/github-actions/ci/run_step.sh configure
@@ -186,39 +186,39 @@ jobs:
186186
- name: Install
187187
run: tests/test_automation/github-actions/ci/run_step.sh install
188188

189-
spack-centos-stream:
189+
centos10:
190190
runs-on: ubuntu-latest
191191
container: ${{ matrix.container }}
192192
env:
193193
GH_JOBNAME: ${{ matrix.jobname }}
194194
GH_OS: Linux
195-
CONTAINER_OS: spack-centos-stream
195+
CONTAINER_OS: centos10
196196
strategy:
197197
fail-fast: false
198198
matrix:
199199
jobname:
200200
[
201-
GCC11-NoMPI-Debug-Real,
202-
GCC11-NoMPI-NoOMP-Real,
203-
GCC11-NoMPI-NoOMP-Complex,
204-
GCC11-NoMPI-Sandbox-Real,
201+
GCC14-NoMPI-Debug-Real,
202+
GCC14-NoMPI-NoOMP-Real,
203+
GCC14-NoMPI-NoOMP-Complex,
204+
GCC14-NoMPI-Sandbox-Real,
205205
]
206206
include:
207-
- jobname: GCC11-NoMPI-Debug-Real
207+
- jobname: GCC14-NoMPI-Debug-Real
208208
container:
209-
image: ghcr.io/qmcpack/centos-stream-gcc11:latest
209+
image: ghcr.io/qmcpack/centos10:latest
210210
options: -u 1001
211-
- jobname: GCC11-NoMPI-NoOMP-Real
211+
- jobname: GCC14-NoMPI-NoOMP-Real
212212
container:
213-
image: ghcr.io/qmcpack/centos-stream-gcc11:latest
213+
image: ghcr.io/qmcpack/centos10:latest
214214
options: -u 1001
215-
- jobname: GCC11-NoMPI-NoOMP-Complex
215+
- jobname: GCC14-NoMPI-NoOMP-Complex
216216
container:
217-
image: ghcr.io/qmcpack/centos-stream-gcc11:latest
217+
image: ghcr.io/qmcpack/centos10:latest
218218
options: -u 1001
219-
- jobname: GCC11-NoMPI-Sandbox-Real
219+
- jobname: GCC14-NoMPI-Sandbox-Real
220220
container:
221-
image: ghcr.io/qmcpack/centos-stream-gcc11:latest
221+
image: ghcr.io/qmcpack/centos10:latest
222222
options: -u 1001
223223

224224
steps:
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Build and Push QMCPACK Development Image to GHCR
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
8+
env:
9+
REGISTRY: ghcr.io
10+
IMAGE_NAME: ${{ github.repository }}
11+
12+
jobs:
13+
build-and-push-image:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
packages: write
18+
19+
steps:
20+
- name: Checkout repository
21+
uses: actions/checkout@v4
22+
23+
- name: Log in to the Container registry
24+
uses: docker/login-action@v3
25+
with:
26+
registry: ${{ env.REGISTRY }}
27+
username: ${{ github.actor }}
28+
password: ${{ secrets.GITHUB_TOKEN }}
29+
30+
- name: Set up Docker Buildx
31+
uses: docker/setup-buildx-action@v3
32+
33+
- name: Build and push Docker image
34+
uses: docker/build-push-action@v6
35+
with:
36+
context: .
37+
file: tests/test_automation/containers/Dockerfile_gcc_mpi_develop_complete
38+
push: true
39+
tags: |
40+
ghcr.io/qmcpack/qmcpack_complete_develop:latest
41+
platforms: linux/amd64
42+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Build and Push CentOS CI Image to GHCR
2+
3+
on:
4+
push:
5+
paths:
6+
- 'config/docker/dependencies/centos10/**'
7+
branches:
8+
- develop
9+
10+
env:
11+
REGISTRY: ghcr.io
12+
IMAGE_NAME: ${{ github.repository }}
13+
14+
jobs:
15+
build-and-push-image:
16+
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
19+
packages: write
20+
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v4
24+
25+
- name: Log in to the Container registry
26+
uses: docker/login-action@v3
27+
with:
28+
registry: ${{ env.REGISTRY }}
29+
username: ${{ github.actor }}
30+
password: ${{ secrets.GITHUB_TOKEN }}
31+
32+
- name: Set up Docker Buildx
33+
uses: docker/setup-buildx-action@v3
34+
35+
- name: Build and push Docker image
36+
uses: docker/build-push-action@v6
37+
with:
38+
context: .
39+
file: config/docker/dependencies/centos10/Dockerfile
40+
push: true
41+
tags: |
42+
ghcr.io/qmcpack/centos10:latest
43+
platforms: linux/amd64
44+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Build and Push Ubuntu22 Clang CI Image to GHCR
2+
3+
on:
4+
push:
5+
paths:
6+
- 'config/docker/dependencies/ubuntu22/clang/**'
7+
branches:
8+
- develop
9+
10+
env:
11+
REGISTRY: ghcr.io
12+
IMAGE_NAME: ${{ github.repository }}
13+
14+
jobs:
15+
build-and-push-image:
16+
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
19+
packages: write
20+
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v4
24+
25+
- name: Log in to the Container registry
26+
uses: docker/login-action@v3
27+
with:
28+
registry: ${{ env.REGISTRY }}
29+
username: ${{ github.actor }}
30+
password: ${{ secrets.GITHUB_TOKEN }}
31+
32+
- name: Set up Docker Buildx
33+
uses: docker/setup-buildx-action@v3
34+
35+
- name: Build and push Docker image
36+
uses: docker/build-push-action@v6
37+
with:
38+
context: .
39+
file: config/docker/dependencies/ubuntu22/clang/Dockerfile
40+
push: true
41+
tags: |
42+
ghcr.io/qmcpack/ubuntu22-clang:latest
43+
platforms: linux/amd64
44+

0 commit comments

Comments
 (0)