2023-08-31 12:12:52 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
steps:
|
|
|
|
build:
|
|
|
|
image: chizeta/centos:8
|
2024-05-18 23:56:37 +02:00
|
|
|
pull: true
|
2023-08-31 12:15:45 +02:00
|
|
|
commands:
|
|
|
|
- source /opt/rh/gcc-toolset-9/enable
|
2024-05-18 18:32:38 +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
|
2024-05-18 23:56:37 +02:00
|
|
|
- chown -R test:test .
|
2024-05-18 23:52:56 +02:00
|
|
|
- su test
|
2023-08-31 12:15:45 +02:00
|
|
|
- mkdir build-gcc
|
|
|
|
- cd build-gcc
|
2024-02-02 20:31:50 +01:00
|
|
|
- cmake3 -DSCALAR_BUILD=on ..
|
2023-08-31 12:15:45 +02:00
|
|
|
- make -j2
|
|
|
|
- make test
|
2024-05-19 00:00:55 +02:00
|
|
|
- cat /woodpecker/src/git.f3l.de/chizeta/cnorxz/build-gcc/Testing/Temporary/LastTest.log
|
2023-08-31 12:15:45 +02:00
|
|
|
- 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
|