libcreate/ci/entrypoint.sh
Konstantin Lampalzer 3836d1480b ci: add packing job
2024-09-23 13:34:34 +02:00

10 lines
No EOL
285 B
Bash
Executable file

#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
cmake -B /libcreate/build -S /libcreate -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS='-Werror'
cmake --build /libcreate/build --config Release
ctest -C Release --output-on-failure
cpack --build /libcreate/build -G DEB