Skip to content

Commit 690350a

Browse files
authored
Merge pull request #4258 from QMCPACK/rc_3150
Rc 3150
2 parents dbe4ceb + 8afc713 commit 690350a

File tree

907 files changed

+110917
-36382
lines changed

Some content is hidden

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

907 files changed

+110917
-36382
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
on:
2+
pull_request_target:
3+
types: [edited, auto_merge_enabled]
4+
branches:
5+
- github_actions_automatic_rebase
6+
- develop
7+
- main
8+
push:
9+
branches:
10+
- develop
11+
- main
12+
13+
jobs:
14+
rebase:
15+
if: |
16+
contains(github.event.pull_request.body, '!-> Feel free to automatically rebase this PR. <-!')
17+
&& github.event.pull_request.auto_merge
18+
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Echo Github Context To Debug
22+
run: echo "$GITHUB_CONTEXT"
23+
env:
24+
GITHUB_CONTEXT: ${{ toJSON(github) }}
25+
- name: Checkout Action
26+
uses: actions/checkout@v2
27+
with:
28+
token: ${{ secrets.GITHUB_TOKEN }}
29+
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
30+
- name: Automatic Rebase
31+
run: tests/test_automation/github-actions/ci/run_step.sh rebase
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
QMCPACK_BOT_GPG_KEY: ${{ QMCPACK_BOT_GPG_KEY }}
35+
QMCPACK_BOT_GPG_SIGNING_KEY: ${{ secrets.QMCPACK_BOT_GPG_SIGNING_KEY }}
36+
37+
trigger-rebase:
38+
if: github.event_name == 'push'
39+
40+
runs-on: ubuntu-latest
41+
steps:
42+
- name: Checkout Action
43+
uses: actions/checkout@v2
44+
with:
45+
token: ${{ secrets.GITHUB_TOKEN }}
46+
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
47+
- name: Push Update To Opt'd in PR's
48+
run: tests/test_automation/github-actions/ci/run_step.sh pull-rebase
49+
env:
50+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
QMCPACK_BOT_GPG_KEY: ${{ QMCPACK_BOT_GPG_KEY }}
52+
QMCPACK_BOT_GPG_SIGNING_KEY: ${{ secrets.QMCPACK_BOT_GPG_SIGNING_KEY }}

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

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ jobs:
99
if: |
1010
github.repository_owner == 'QMCPACK' &&
1111
github.event.issue.pull_request &&
12-
( startsWith(github.event.comment.body, 'Test this please') ||
13-
startsWith(github.event.comment.body, 'Start testing in-house') )
12+
startsWith(github.event.comment.body, 'Test this please')
1413
1514
runs-on: [self-hosted, Linux, X64, ornl-sulfur-1]
1615

@@ -21,10 +20,10 @@ jobs:
2120
fail-fast: false
2221
matrix:
2322
jobname: [
24-
GCC8-NoMPI-MKL-Real-Mixed, # mixed precision
25-
GCC8-NoMPI-MKL-Complex-Mixed,
26-
GCC8-NoMPI-MKL-Real, # full precision
27-
GCC8-NoMPI-MKL-Complex,
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,
2827
]
2928

3029
steps:
@@ -43,7 +42,7 @@ jobs:
4342
- name: GitHub API Request
4443
if: steps.check.outputs.triggered == 'true'
4544
id: request
46-
uses: octokit/request-action@v2.0.0
45+
uses: octokit/request-action@v2.1.0
4746
with:
4847
route: ${{github.event.issue.pull_request.url}}
4948
env:
@@ -72,7 +71,7 @@ jobs:
7271
7372
- name: Checkout PR branch
7473
if: steps.check.outputs.triggered == 'true'
75-
uses: actions/checkout@v2
74+
uses: actions/checkout@v3
7675
with:
7776
token: ${{secrets.GITHUB_TOKEN}}
7877
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
@@ -116,12 +115,14 @@ jobs:
116115
fail-fast: false
117116
matrix:
118117
jobname: [
119-
GCC8-NoMPI-Legacy-CUDA-Real-Mixed, # mixed precision
120-
GCC8-NoMPI-Legacy-CUDA-Complex-Mixed,
121-
GCC8-NoMPI-Legacy-CUDA-Real, # full precision
122-
GCC8-NoMPI-Legacy-CUDA-Complex,
123-
Clang14Dev-MPI-CUDA-AFQMC-Offload-Real-Mixed, # auxiliary field, offload requires development llvm14
124-
Clang14Dev-MPI-CUDA-AFQMC-Offload-Real,
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,
125126
Intel19-MPI-CUDA-AFQMC-Real-Mixed, # auxiliary field, requires MPI
126127
Intel19-MPI-CUDA-AFQMC-Complex-Mixed,
127128
Intel19-MPI-CUDA-AFQMC-Real,
@@ -143,7 +144,7 @@ jobs:
143144
- name: GitHub API Request
144145
if: steps.check.outputs.triggered == 'true'
145146
id: request
146-
uses: octokit/request-action@v2.0.0
147+
uses: octokit/request-action@v2.1.0
147148
with:
148149
route: ${{github.event.issue.pull_request.url}}
149150
env:
@@ -172,7 +173,7 @@ jobs:
172173
173174
- name: Checkout PR branch
174175
if: steps.check.outputs.triggered == 'true'
175-
uses: actions/checkout@v2
176+
uses: actions/checkout@v3
176177
with:
177178
token: ${{secrets.GITHUB_TOKEN}}
178179
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
@@ -221,6 +222,10 @@ jobs:
221222
ROCm-Clang13-NoMPI-CUDA2HIP-Real,
222223
ROCm-Clang13-NoMPI-CUDA2HIP-Complex-Mixed,
223224
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,
224229
]
225230

226231
steps:
@@ -239,7 +244,7 @@ jobs:
239244
- name: GitHub API Request
240245
if: steps.check.outputs.triggered == 'true'
241246
id: request
242-
uses: octokit/request-action@v2.0.0
247+
uses: octokit/request-action@v2.1.0
243248
with:
244249
route: ${{github.event.issue.pull_request.url}}
245250
env:
@@ -268,7 +273,7 @@ jobs:
268273
269274
- name: Checkout PR branch
270275
if: steps.check.outputs.triggered == 'true'
271-
uses: actions/checkout@v2
276+
uses: actions/checkout@v3
272277
with:
273278
token: ${{secrets.GITHUB_TOKEN}}
274279
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
@@ -312,10 +317,10 @@ jobs:
312317
fail-fast: false
313318
matrix:
314319
jobname: [
315-
GCC8-MPI-CUDA-AFQMC-Real-Mixed, # auxiliary field, requires MPI
316-
GCC8-MPI-CUDA-AFQMC-Complex-Mixed,
317-
GCC8-MPI-CUDA-AFQMC-Real,
318-
GCC8-MPI-CUDA-AFQMC-Complex,
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,
319324
]
320325

321326
steps:
@@ -334,7 +339,7 @@ jobs:
334339
- name: GitHub API Request
335340
if: steps.check.outputs.triggered == 'true'
336341
id: request
337-
uses: octokit/request-action@v2.0.0
342+
uses: octokit/request-action@v2.1.0
338343
with:
339344
route: ${{github.event.issue.pull_request.url}}
340345
env:
@@ -363,7 +368,7 @@ jobs:
363368
364369
- name: Checkout PR branch
365370
if: steps.check.outputs.triggered == 'true'
366-
uses: actions/checkout@v2
371+
uses: actions/checkout@v3
367372
with:
368373
token: ${{secrets.GITHUB_TOKEN}}
369374
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: static
2+
3+
on:
4+
workflow_dispatch:
5+
branches:
6+
- develop
7+
- main
8+
9+
jobs:
10+
linux:
11+
runs-on: ubuntu-latest
12+
container: ${{ matrix.container }}
13+
env:
14+
GH_JOBNAME: ${{ matrix.jobname }}
15+
GH_OS: Linux
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
jobname: [ClangTidy14-NoMPI-Real, ClangTidy14-NoMPI-Complex]
20+
include:
21+
- jobname: ClangTidy14-NoMPI-Real
22+
container:
23+
image: williamfgc/qmcpack-ci:ubuntu22-openmpi
24+
options: -u 1001
25+
26+
- jobname: ClangTidy14-NoMPI-Complex
27+
container:
28+
image: williamfgc/qmcpack-ci:ubuntu22-openmpi
29+
options: -u 1001
30+
31+
steps:
32+
- name: Checkout Action
33+
uses: actions/checkout@v3
34+
35+
- name: Configure
36+
run: tests/test_automation/github-actions/ci/run_step_static.sh configure
37+
38+
- name: Build
39+
run: tests/test_automation/github-actions/ci/run_step_static.sh build

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
GCC9-MPI-Gcov-Complex,
3131
GCC11-NoMPI-Werror-Real,
3232
GCC11-NoMPI-Werror-Complex,
33+
GCC11-NoMPI-Werror-Real-Mixed,
34+
GCC11-NoMPI-Werror-Complex-Mixed,
3335
Clang10-NoMPI-ASan-Real,
3436
Clang10-NoMPI-ASan-Complex,
3537
Clang10-NoMPI-UBSan-Real,
@@ -76,6 +78,16 @@ jobs:
7678
image: williamfgc/qmcpack-ci:ubuntu2110-serial
7779
options: -u 1001
7880

81+
- jobname: GCC11-NoMPI-Werror-Real-Mixed
82+
container:
83+
image: williamfgc/qmcpack-ci:ubuntu2110-serial
84+
options: -u 1001
85+
86+
- jobname: GCC11-NoMPI-Werror-Complex-Mixed
87+
container:
88+
image: williamfgc/qmcpack-ci:ubuntu2110-serial
89+
options: -u 1001
90+
7991
- jobname: Clang10-NoMPI-ASan-Real
8092
container:
8193
image: williamfgc/qmcpack-ci:ubuntu20-openmpi
@@ -98,7 +110,7 @@ jobs:
98110

99111
steps:
100112
- name: Checkout Action
101-
uses: actions/checkout@v1
113+
uses: actions/checkout@v3
102114

103115
- name: Configure
104116
run: tests/test_automation/github-actions/ci/run_step.sh configure
@@ -135,7 +147,7 @@ jobs:
135147

136148
steps:
137149
- name: Checkout Action
138-
uses: actions/checkout@v2
150+
uses: actions/checkout@v3
139151

140152
- name: Setup Dependencies
141153
run: |

0 commit comments

Comments
 (0)