ocl: further prepared for CP2K's Offload/DBM/DBT libraries #1213
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@v3 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
- name: Configure | |
run: | | |
mkdir -p build | |
cd build | |
cmake -G Ninja \ | |
-DCMAKE_BUILD_TYPE=Debug \ | |
-DUSE_MPI=ON \ | |
-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 : |