cnorxz/.woodpecker.yml

23 lines
654 B
YAML
Raw Normal View History

2023-08-31 12:12:52 +02:00
---
steps:
build:
image: chizeta/centos:8
2024-05-18 18:14:39 +02:00
pull: true
2023-08-31 12:15:45 +02:00
commands:
- source /opt/rh/gcc-toolset-9/enable
2024-05-18 18:20:35 +02:00
- source /etc/profile.d/modules.sh
2024-05-18 18:09:10 +02:00
- module use --append /usr/share/modulefiles
- module load mpi
2023-08-31 12:15:45 +02:00
- mkdir build-gcc
- cd build-gcc
- cmake3 -DSCALAR_BUILD=on ..
2023-08-31 12:15:45 +02:00
- make -j2
- make test
- cd ..
- mkdir build-clang
- cd build-clang
2023-12-28 23:12:04 +01:00
- CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake3 -DRUN_PIPELINE=on -DSCALAR_BUILD=on ..
2023-08-31 12:15:45 +02:00
- make -j2
- make test