-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into jmm/update-spackage-1.9.1
- Loading branch information
Showing
60 changed files
with
1,640 additions
and
406 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Sanitizer | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
sanitizer: | ||
name: Run clang sanitizer on minimal code subset | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- name: Set system to non-interactive mode | ||
run: export DEBIAN_FRONTEND=noninteractive | ||
- name: install dependencies | ||
run: | | ||
sudo apt-get update -y -qq | ||
sudo apt-get install -y --allow-downgrades --allow-remove-essential --allow-change-held-packages -qq build-essential clang llvm | ||
- name: build and run tests | ||
run: | | ||
mkdir -p bin | ||
cd bin | ||
cmake -DCMAKE_CXX_COMPILER=clang++ \ | ||
-DCMAKE_CXX_FLAGS="-fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer" \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DSINGULARITY_STRICT_WARNINGS=ON \ | ||
-DSINGULARITY_USE_FORTRAN=OFF \ | ||
-DSINGULARITY_BUILD_FORTRAN_BACKEND=ON \ | ||
-DSINGULARITY_BUILD_TESTS=ON \ | ||
-DSINGULARITY_FORCE_SUBMODULE_MODE=ON \ | ||
-DSINGULARITY_USE_KOKKOS=ON \ | ||
.. | ||
make -j4 | ||
ctest --output-on-failure |
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 |
---|---|---|
|
@@ -45,4 +45,4 @@ jobs: | |
#.. | ||
make | ||
make install | ||
make test | ||
ctest --output-on-failure |
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,37 @@ | ||
name: Warnings | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
warnings-gcc: | ||
name: Ensure no warnings from gcc | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- name: Set system to non-interactive mode | ||
run: export DEBIAN_FRONTEND=noninteractive | ||
- name: install dependencies | ||
run: | | ||
sudo apt-get update -y -qq | ||
sudo apt-get install -y --allow-downgrades --allow-remove-essential --allow-change-held-packages -qq build-essential | ||
- name: build and run tests | ||
run: | | ||
mkdir -p bin | ||
cd bin | ||
cmake -DCMAKE_BUILD_TYPE=Debug \ | ||
-DSINGULARITY_STRICT_WARNINGS=ON \ | ||
-DSINGULARITY_USE_FORTRAN=OFF \ | ||
-DSINGULARITY_BUILD_FORTRAN_BACKEND=ON \ | ||
-DSINGULARITY_BUILD_TESTS=ON \ | ||
-DSINGULARITY_FORCE_SUBMODULE_MODE=ON \ | ||
-DSINGULARITY_USE_KOKKOS=ON \ | ||
.. | ||
make -j4 |
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.