-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into nexus-rmg-pptype
- Loading branch information
Showing
1,343 changed files
with
84,911 additions
and
46,275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ jobs: | |
# just like any other third-party service | ||
- name: Create PR status | ||
if: steps.check.outputs.triggered == 'true' | ||
uses: Sibz/[email protected].6 | ||
uses: guibranco/github-status-action-v2@v1.1.7 | ||
with: | ||
authToken: ${{secrets.GITHUB_TOKEN}} | ||
context: "ornl-sulfur CI ${{ matrix.jobname }}" | ||
|
@@ -91,7 +91,7 @@ jobs: | |
|
||
- name: Report PR status | ||
if: always() && steps.check.outputs.triggered == 'true' | ||
uses: Sibz/[email protected].6 | ||
uses: guibranco/github-status-action-v2@v1.1.7 | ||
with: | ||
authToken: ${{secrets.GITHUB_TOKEN}} | ||
context: "ornl-sulfur CI ${{matrix.jobname}}" | ||
|
@@ -151,7 +151,7 @@ jobs: | |
# just like any other third-party service | ||
- name: Create PR status | ||
if: steps.check.outputs.triggered == 'true' | ||
uses: Sibz/[email protected].6 | ||
uses: guibranco/github-status-action-v2@v1.1.7 | ||
with: | ||
authToken: ${{secrets.GITHUB_TOKEN}} | ||
context: "ornl-sulfur CI ${{ matrix.jobname }}" | ||
|
@@ -190,7 +190,7 @@ jobs: | |
|
||
- name: Report PR status | ||
if: always() && steps.check.outputs.triggered == 'true' | ||
uses: Sibz/[email protected].6 | ||
uses: guibranco/github-status-action-v2@v1.1.7 | ||
with: | ||
authToken: ${{secrets.GITHUB_TOKEN}} | ||
context: "ornl-sulfur CI ${{matrix.jobname}}" | ||
|
@@ -247,7 +247,7 @@ jobs: | |
# just like any other third-party service | ||
- name: Create PR status | ||
if: steps.check.outputs.triggered == 'true' | ||
uses: Sibz/[email protected].6 | ||
uses: guibranco/github-status-action-v2@v1.1.7 | ||
with: | ||
authToken: ${{secrets.GITHUB_TOKEN}} | ||
context: "ornl-nitrogen CI ${{matrix.jobname}}" | ||
|
@@ -286,7 +286,7 @@ jobs: | |
|
||
- name: Report PR status | ||
if: always() && steps.check.outputs.triggered == 'true' | ||
uses: Sibz/[email protected].6 | ||
uses: guibranco/github-status-action-v2@v1.1.7 | ||
with: | ||
authToken: ${{secrets.GITHUB_TOKEN}} | ||
context: "ornl-nitrogen CI ${{matrix.jobname}}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,17 +25,19 @@ jobs: | |
GCC9-NoMPI-Debug-Real, | ||
GCC9-NoMPI-NoOMP-Real, | ||
GCC9-NoMPI-NoOMP-Complex, | ||
GCC9-NoMPI-Sandbox-Real, | ||
GCC9-MPI-Sandbox-Real, | ||
GCC9-NoMPI-Sandbox-Complex, | ||
GCC9-MPI-Gcov-Real, | ||
GCC9-MPI-Gcov-Complex, | ||
GCC11-NoMPI-Werror-Real, | ||
GCC11-NoMPI-Werror-Complex, | ||
GCC11-NoMPI-Werror-Real-Mixed, | ||
GCC11-NoMPI-Werror-Complex-Mixed, | ||
GCC12-NoMPI-Werror-Real, | ||
GCC12-NoMPI-Werror-Complex, | ||
GCC12-NoMPI-Werror-Real-Mixed, | ||
GCC12-NoMPI-Werror-Complex-Mixed, | ||
Clang14-NoMPI-ASan-Real, | ||
Clang14-NoMPI-ASan-Complex, | ||
Clang14-NoMPI-UBSan-Real, | ||
Clang16-NoMPI-Offload-Real, | ||
Clang16-NoMPI-Offload-Complex, | ||
] | ||
include: | ||
- jobname: GCC9-NoMPI-Debug-Real | ||
|
@@ -53,11 +55,16 @@ jobs: | |
image: ghcr.io/qmcpack/ubuntu22-openmpi:latest | ||
options: -u 1001 | ||
|
||
- jobname: GCC9-NoMPI-Sandbox-Real | ||
- jobname: GCC9-MPI-Sandbox-Real | ||
container: | ||
image: ghcr.io/qmcpack/ubuntu22-openmpi:latest | ||
options: -u 1001 | ||
|
||
- jobname: GCC9-NoMPI-Sandbox-Complex | ||
container: | ||
image: ghcr.io/qmcpack/ubuntu22-serial:latest | ||
options: -u 1001 | ||
|
||
- jobname: GCC9-MPI-Gcov-Real | ||
container: | ||
image: ghcr.io/qmcpack/ubuntu22-openmpi:latest | ||
|
@@ -68,24 +75,24 @@ jobs: | |
image: ghcr.io/qmcpack/ubuntu22-openmpi:latest | ||
options: -u 1001 | ||
|
||
- jobname: GCC11-NoMPI-Werror-Real | ||
- jobname: GCC12-NoMPI-Werror-Real | ||
container: | ||
image: ghcr.io/qmcpack/ubuntu2110-serial:latest | ||
image: ghcr.io/qmcpack/ubuntu22-serial:latest | ||
options: -u 1001 | ||
|
||
- jobname: GCC11-NoMPI-Werror-Complex | ||
- jobname: GCC12-NoMPI-Werror-Complex | ||
container: | ||
image: ghcr.io/qmcpack/ubuntu2110-serial:latest | ||
image: ghcr.io/qmcpack/ubuntu22-serial:latest | ||
options: -u 1001 | ||
|
||
- jobname: GCC11-NoMPI-Werror-Real-Mixed | ||
- jobname: GCC12-NoMPI-Werror-Real-Mixed | ||
container: | ||
image: ghcr.io/qmcpack/ubuntu2110-serial:latest | ||
image: ghcr.io/qmcpack/ubuntu22-serial:latest | ||
options: -u 1001 | ||
|
||
- jobname: GCC11-NoMPI-Werror-Complex-Mixed | ||
- jobname: GCC12-NoMPI-Werror-Complex-Mixed | ||
container: | ||
image: ghcr.io/qmcpack/ubuntu2110-serial:latest | ||
image: ghcr.io/qmcpack/ubuntu22-serial:latest | ||
options: -u 1001 | ||
|
||
- jobname: Clang14-NoMPI-ASan-Real | ||
|
@@ -108,6 +115,11 @@ jobs: | |
image: ghcr.io/qmcpack/ubuntu22-clang:latest | ||
options: -u 1001 | ||
|
||
- jobname: Clang16-NoMPI-Offload-Complex | ||
container: | ||
image: ghcr.io/qmcpack/ubuntu22-clang:latest | ||
options: -u 1001 | ||
|
||
steps: | ||
- name: Checkout Action | ||
uses: actions/checkout@v4 | ||
|
@@ -127,23 +139,25 @@ jobs: | |
|
||
- name: Upload Coverage | ||
if: contains(matrix.jobname, 'Gcov') && github.repository_owner == 'QMCPACK' | ||
uses: codecov/codecov-action@v3 | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
files: ../qmcpack-build/coverage.xml | ||
flags: tests-deterministic # optional | ||
name: codecov-QMCPACK # optional | ||
fail_ci_if_error: true # optional (default = false) | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
macos: | ||
runs-on: macos-11 | ||
runs-on: macos-14 | ||
env: | ||
GH_JOBNAME: ${{ matrix.jobname }} | ||
GH_OS: macOS | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
jobname: [macOS-GCC11-NoMPI-Real] | ||
jobname: [macOS-GCC14-NoMPI-Real] | ||
|
||
steps: | ||
- name: Checkout Action | ||
|
@@ -152,12 +166,13 @@ jobs: | |
- name: Set Python Version | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
python-version: "3.12" | ||
|
||
- name: Setup Dependencies | ||
run: | | ||
brew install ninja hdf5 fftw boost | ||
pip3 install numpy h5py pandas | ||
brew upgrade || brew link --overwrite [email protected] | ||
brew install gcc@14 ninja hdf5 fftw boost | ||
python3 -m pip install numpy==1.26.4 h5py pandas | ||
- name: Configure | ||
run: tests/test_automation/github-actions/ci/run_step.sh configure | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Check that the configured compiler works on a C++ main function | ||
# Note: whitespaces not allowed in STAGE_NAME | ||
function(TestCXXMainCompiles STAGE_NAME) | ||
if(STAGE_NAME MATCHES " ") | ||
message(FATAL_ERROR "TestCXXMainCompiles whitespaces not allowed in the stage name. The given value is '${STAGE_NAME}'.") | ||
endif() | ||
set(TEST_CXX_COMPILE_MAIN_DIR ${PROJECT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp) | ||
file(WRITE ${TEST_CXX_COMPILE_MAIN_DIR}/try_cxx_main.cpp "int main(){}") | ||
set(TEST_RESULT_VAR_NAME TEST_RESULT_${STAGE_NAME}) | ||
try_compile( | ||
${TEST_RESULT_VAR_NAME} | ||
${TEST_CXX_COMPILE_MAIN_DIR} | ||
SOURCES ${TEST_CXX_COMPILE_MAIN_DIR}/try_cxx_main.cpp | ||
OUTPUT_VARIABLE COMPILE_OUTPUT) | ||
if(NOT ${TEST_RESULT_VAR_NAME}) | ||
message(FATAL_ERROR "Failed in compiling a main() function in stage ${STAGE_NAME}. Output:\n${COMPILE_OUTPUT}") | ||
endif() | ||
endfunction() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.