Skip to content

Commit

Permalink
Merge pull request #4258 from QMCPACK/rc_3150
Browse files Browse the repository at this point in the history
Rc 3150
  • Loading branch information
ye-luo authored Sep 28, 2022
2 parents dbe4ceb + 8afc713 commit 690350a
Show file tree
Hide file tree
Showing 907 changed files with 110,917 additions and 36,382 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/ci-github-action-auto-rebase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
on:
pull_request_target:
types: [edited, auto_merge_enabled]
branches:
- github_actions_automatic_rebase
- develop
- main
push:
branches:
- develop
- main

jobs:
rebase:
if: |
contains(github.event.pull_request.body, '!-> Feel free to automatically rebase this PR. <-!')
&& github.event.pull_request.auto_merge
runs-on: ubuntu-latest
steps:
- name: Echo Github Context To Debug
run: echo "$GITHUB_CONTEXT"
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
- name: Checkout Action
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
- name: Automatic Rebase
run: tests/test_automation/github-actions/ci/run_step.sh rebase
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
QMCPACK_BOT_GPG_KEY: ${{ QMCPACK_BOT_GPG_KEY }}
QMCPACK_BOT_GPG_SIGNING_KEY: ${{ secrets.QMCPACK_BOT_GPG_SIGNING_KEY }}

trigger-rebase:
if: github.event_name == 'push'

runs-on: ubuntu-latest
steps:
- name: Checkout Action
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
- name: Push Update To Opt'd in PR's
run: tests/test_automation/github-actions/ci/run_step.sh pull-rebase
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
QMCPACK_BOT_GPG_KEY: ${{ QMCPACK_BOT_GPG_KEY }}
QMCPACK_BOT_GPG_SIGNING_KEY: ${{ secrets.QMCPACK_BOT_GPG_SIGNING_KEY }}
53 changes: 29 additions & 24 deletions .github/workflows/ci-github-actions-self-hosted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ jobs:
if: |
github.repository_owner == 'QMCPACK' &&
github.event.issue.pull_request &&
( startsWith(github.event.comment.body, 'Test this please') ||
startsWith(github.event.comment.body, 'Start testing in-house') )
startsWith(github.event.comment.body, 'Test this please')
runs-on: [self-hosted, Linux, X64, ornl-sulfur-1]

Expand All @@ -21,10 +20,10 @@ jobs:
fail-fast: false
matrix:
jobname: [
GCC8-NoMPI-MKL-Real-Mixed, # mixed precision
GCC8-NoMPI-MKL-Complex-Mixed,
GCC8-NoMPI-MKL-Real, # full precision
GCC8-NoMPI-MKL-Complex,
GCC9-NoMPI-MKL-Real-Mixed, # mixed precision
GCC9-NoMPI-MKL-Complex-Mixed,
GCC9-NoMPI-MKL-Real, # full precision
GCC9-NoMPI-MKL-Complex,
]

steps:
Expand All @@ -43,7 +42,7 @@ jobs:
- name: GitHub API Request
if: steps.check.outputs.triggered == 'true'
id: request
uses: octokit/request-action@v2.0.0
uses: octokit/request-action@v2.1.0
with:
route: ${{github.event.issue.pull_request.url}}
env:
Expand Down Expand Up @@ -72,7 +71,7 @@ jobs:
- name: Checkout PR branch
if: steps.check.outputs.triggered == 'true'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{secrets.GITHUB_TOKEN}}
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
Expand Down Expand Up @@ -116,12 +115,14 @@ jobs:
fail-fast: false
matrix:
jobname: [
GCC8-NoMPI-Legacy-CUDA-Real-Mixed, # mixed precision
GCC8-NoMPI-Legacy-CUDA-Complex-Mixed,
GCC8-NoMPI-Legacy-CUDA-Real, # full precision
GCC8-NoMPI-Legacy-CUDA-Complex,
Clang14Dev-MPI-CUDA-AFQMC-Offload-Real-Mixed, # auxiliary field, offload requires development llvm14
Clang14Dev-MPI-CUDA-AFQMC-Offload-Real,
GCC9-NoMPI-Legacy-CUDA-Real-Mixed, # mixed precision
GCC9-NoMPI-Legacy-CUDA-Complex-Mixed,
GCC9-NoMPI-Legacy-CUDA-Real, # full precision
GCC9-NoMPI-Legacy-CUDA-Complex,
Clang15-MPI-CUDA-AFQMC-Offload-Real-Mixed, # auxiliary field, offload
Clang15-MPI-CUDA-AFQMC-Offload-Real,
Clang15-MPI-CUDA-AFQMC-Offload-Complex-Mixed,
Clang15-MPI-CUDA-AFQMC-Offload-Complex,
Intel19-MPI-CUDA-AFQMC-Real-Mixed, # auxiliary field, requires MPI
Intel19-MPI-CUDA-AFQMC-Complex-Mixed,
Intel19-MPI-CUDA-AFQMC-Real,
Expand All @@ -143,7 +144,7 @@ jobs:
- name: GitHub API Request
if: steps.check.outputs.triggered == 'true'
id: request
uses: octokit/request-action@v2.0.0
uses: octokit/request-action@v2.1.0
with:
route: ${{github.event.issue.pull_request.url}}
env:
Expand Down Expand Up @@ -172,7 +173,7 @@ jobs:
- name: Checkout PR branch
if: steps.check.outputs.triggered == 'true'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{secrets.GITHUB_TOKEN}}
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
Expand Down Expand Up @@ -221,6 +222,10 @@ jobs:
ROCm-Clang13-NoMPI-CUDA2HIP-Real,
ROCm-Clang13-NoMPI-CUDA2HIP-Complex-Mixed,
ROCm-Clang13-NoMPI-CUDA2HIP-Complex,
ROCm-Clang13-MPI-Legacy-CUDA2HIP-Real-Mixed,
ROCm-Clang13-MPI-Legacy-CUDA2HIP-Real,
ROCm-Clang13-MPI-Legacy-CUDA2HIP-Complex-Mixed,
ROCm-Clang13-MPI-Legacy-CUDA2HIP-Complex,
]

steps:
Expand All @@ -239,7 +244,7 @@ jobs:
- name: GitHub API Request
if: steps.check.outputs.triggered == 'true'
id: request
uses: octokit/request-action@v2.0.0
uses: octokit/request-action@v2.1.0
with:
route: ${{github.event.issue.pull_request.url}}
env:
Expand Down Expand Up @@ -268,7 +273,7 @@ jobs:
- name: Checkout PR branch
if: steps.check.outputs.triggered == 'true'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{secrets.GITHUB_TOKEN}}
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
Expand Down Expand Up @@ -312,10 +317,10 @@ jobs:
fail-fast: false
matrix:
jobname: [
GCC8-MPI-CUDA-AFQMC-Real-Mixed, # auxiliary field, requires MPI
GCC8-MPI-CUDA-AFQMC-Complex-Mixed,
GCC8-MPI-CUDA-AFQMC-Real,
GCC8-MPI-CUDA-AFQMC-Complex,
GCC9-MPI-CUDA-AFQMC-Real-Mixed, # auxiliary field, requires MPI
GCC9-MPI-CUDA-AFQMC-Complex-Mixed,
GCC9-MPI-CUDA-AFQMC-Real,
GCC9-MPI-CUDA-AFQMC-Complex,
]

steps:
Expand All @@ -334,7 +339,7 @@ jobs:
- name: GitHub API Request
if: steps.check.outputs.triggered == 'true'
id: request
uses: octokit/request-action@v2.0.0
uses: octokit/request-action@v2.1.0
with:
route: ${{github.event.issue.pull_request.url}}
env:
Expand Down Expand Up @@ -363,7 +368,7 @@ jobs:
- name: Checkout PR branch
if: steps.check.outputs.triggered == 'true'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
token: ${{secrets.GITHUB_TOKEN}}
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/ci-github-actions-static.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: static

on:
workflow_dispatch:
branches:
- develop
- main

jobs:
linux:
runs-on: ubuntu-latest
container: ${{ matrix.container }}
env:
GH_JOBNAME: ${{ matrix.jobname }}
GH_OS: Linux
strategy:
fail-fast: false
matrix:
jobname: [ClangTidy14-NoMPI-Real, ClangTidy14-NoMPI-Complex]
include:
- jobname: ClangTidy14-NoMPI-Real
container:
image: williamfgc/qmcpack-ci:ubuntu22-openmpi
options: -u 1001

- jobname: ClangTidy14-NoMPI-Complex
container:
image: williamfgc/qmcpack-ci:ubuntu22-openmpi
options: -u 1001

steps:
- name: Checkout Action
uses: actions/checkout@v3

- name: Configure
run: tests/test_automation/github-actions/ci/run_step_static.sh configure

- name: Build
run: tests/test_automation/github-actions/ci/run_step_static.sh build
16 changes: 14 additions & 2 deletions .github/workflows/ci-github-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
GCC9-MPI-Gcov-Complex,
GCC11-NoMPI-Werror-Real,
GCC11-NoMPI-Werror-Complex,
GCC11-NoMPI-Werror-Real-Mixed,
GCC11-NoMPI-Werror-Complex-Mixed,
Clang10-NoMPI-ASan-Real,
Clang10-NoMPI-ASan-Complex,
Clang10-NoMPI-UBSan-Real,
Expand Down Expand Up @@ -76,6 +78,16 @@ jobs:
image: williamfgc/qmcpack-ci:ubuntu2110-serial
options: -u 1001

- jobname: GCC11-NoMPI-Werror-Real-Mixed
container:
image: williamfgc/qmcpack-ci:ubuntu2110-serial
options: -u 1001

- jobname: GCC11-NoMPI-Werror-Complex-Mixed
container:
image: williamfgc/qmcpack-ci:ubuntu2110-serial
options: -u 1001

- jobname: Clang10-NoMPI-ASan-Real
container:
image: williamfgc/qmcpack-ci:ubuntu20-openmpi
Expand All @@ -98,7 +110,7 @@ jobs:

steps:
- name: Checkout Action
uses: actions/checkout@v1
uses: actions/checkout@v3

- name: Configure
run: tests/test_automation/github-actions/ci/run_step.sh configure
Expand Down Expand Up @@ -135,7 +147,7 @@ jobs:

steps:
- name: Checkout Action
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Dependencies
run: |
Expand Down
Loading

0 comments on commit 690350a

Please sign in to comment.