aboutsummaryrefslogtreecommitdiff
path: root/ci/jobs/1-build
diff options
context:
space:
mode:
Diffstat (limited to 'ci/jobs/1-build')
-rwxr-xr-xci/jobs/1-build/build.sh9
-rwxr-xr-xci/jobs/1-build/job.sh6
2 files changed, 15 insertions, 0 deletions
diff --git a/ci/jobs/1-build/build.sh b/ci/jobs/1-build/build.sh
new file mode 100755
index 000000000..b11374291
--- /dev/null
+++ b/ci/jobs/1-build/build.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+set -exuo pipefail
+
+./bootstrap
+./configure CFLAGS="-ggdb -O0" \
+ --enable-logging=verbose \
+ --disable-doc
+
+make
diff --git a/ci/jobs/1-build/job.sh b/ci/jobs/1-build/job.sh
new file mode 100755
index 000000000..8d79902c5
--- /dev/null
+++ b/ci/jobs/1-build/job.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+set -exuo pipefail
+
+job_dir=$(dirname "${BASH_SOURCE[0]}")
+
+"${job_dir}"/build.sh