Asger Gitz-Johansen
d02eb34285
fuck this is complicated. Why'd you make it so insane, debian maintainers? Please fix this. It's working now, but Makefile must be modified... I dont like that. Let's find another way
21 lines
421 B
Bash
Executable File
21 lines
421 B
Bash
Executable File
#!/bin/sh
|
|
set -e # exit immediately on error
|
|
|
|
git clone -b dev "$SCI_PIPELINE_URL" "$SCI_PIPELINE_NAME"
|
|
echo "clone success"
|
|
|
|
cd "$SCI_PIPELINE_NAME"
|
|
|
|
cmake -B build
|
|
echo "configure success"
|
|
|
|
cmake --build build
|
|
echo "build success"
|
|
|
|
cpack build
|
|
echo "packaging success"
|
|
|
|
# TODO: upload artifacts to some artifact store
|
|
# curl "build/dist/your-package.deb" > ftp://example.com/artifacts
|
|
# echo "artifacts upload success"
|