[pre-commit.ci] pre-commit autoupdate #1560
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
--- | |
name: Testing with latest gcc | |
on: | |
push: | |
branches: | |
- 'develop' | |
pull_request: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/cp2k/dbcsr-build-env-latest-gcc:develop | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- name: Configure | |
run: | | |
mkdir -p build | |
cd build | |
cmake -G Ninja \ | |
-DCMAKE_BUILD_TYPE=Debug \ | |
-DUSE_MPI=OFF \ | |
-DUSE_OPENMP=ON \ | |
-DUSE_SMM=blas \ | |
-DUSE_MPI_F08=ON \ | |
.. | |
- name: Build | |
run: cmake --build build -- --verbose | |
- name: Test | |
run: | | |
export LSAN_OPTIONS=suppressions=$PWD/tools/docker/lsan.supp | |
cd build | |
ctest --output-on-failure | |
# vim: set ts=2 sw=2 tw=0 : |