ci: add packing job

This commit is contained in:
Konstantin Lampalzer 2024-09-23 13:34:34 +02:00
parent 1791063fa8
commit 3836d1480b
6 changed files with 72 additions and 44 deletions

10
ci/entrypoint.sh Executable file
View file

@ -0,0 +1,10 @@
#!/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