cnorxz/.woodpecker.yml
Christian Zimmermann d8e814c0d7
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed
.woodpecker.yml: try fix
2024-05-18 18:33:26 +02:00

22 lines
651 B
YAML

---
steps:
build:
image: chizeta/centos:8
commands:
- source /opt/rh/gcc-toolset-9/enable
- source /etc/profile.d/modules.sh
- module use --append /usr/share/modulefiles
- module load mpi
- whoami
- mkdir build-gcc
- cd build-gcc
- cmake3 -DSCALAR_BUILD=on ..
- make -j2
- make test
- cd ..
- mkdir build-clang
- cd build-clang
- CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake3 -DRUN_PIPELINE=on -DSCALAR_BUILD=on ..
- make -j2
- make test