diff options
author | Devan Carpenter <devan@taler.net> | 2023-08-26 01:18:55 -0400 |
---|---|---|
committer | Devan Carpenter <devan@taler.net> | 2023-09-04 14:24:23 -0400 |
commit | 2c3a26363565f64b5d6acb8e736af66cebfd46d6 (patch) | |
tree | 30770e4d8da2455800789d1962e0671f1203db6f | |
parent | d705ee26636a641bb14fd7faa7fe264c4f32b3ff (diff) | |
download | exchange-2c3a26363565f64b5d6acb8e736af66cebfd46d6.tar.xz |
ci: add test job
-rwxr-xr-x | ci/jobs/1-test/job.sh | 6 | ||||
-rwxr-xr-x | ci/jobs/1-test/test.sh | 10 | ||||
-rwxr-xr-x | ci/jobs/2-docs/docs.sh (renamed from ci/jobs/1-docs/docs.sh) | 0 | ||||
-rwxr-xr-x | ci/jobs/2-docs/job.sh (renamed from ci/jobs/1-docs/job.sh) | 0 | ||||
-rw-r--r-- | ci/jobs/3-deb-package/install-fix.patch (renamed from ci/jobs/2-deb-package/install-fix.patch) | 0 | ||||
-rwxr-xr-x | ci/jobs/3-deb-package/job.sh (renamed from ci/jobs/2-deb-package/job.sh) | 0 |
6 files changed, 16 insertions, 0 deletions
diff --git a/ci/jobs/1-test/job.sh b/ci/jobs/1-test/job.sh new file mode 100755 index 000000000..bfb24e335 --- /dev/null +++ b/ci/jobs/1-test/job.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -exuo pipefail + +job_dir=$(dirname "${BASH_SOURCE[0]}") + +"${job_dir}"/test.sh diff --git a/ci/jobs/1-test/test.sh b/ci/jobs/1-test/test.sh new file mode 100755 index 000000000..20685d8e4 --- /dev/null +++ b/ci/jobs/1-test/test.sh @@ -0,0 +1,10 @@ +#!/bin/bash +set -exuo pipefail + +./bootstrap +./configure CFLAGS="-ggdb -O0" \ + --enable-logging=verbose \ + --disable-doc +make +make install +make check diff --git a/ci/jobs/1-docs/docs.sh b/ci/jobs/2-docs/docs.sh index fe2b96873..fe2b96873 100755 --- a/ci/jobs/1-docs/docs.sh +++ b/ci/jobs/2-docs/docs.sh diff --git a/ci/jobs/1-docs/job.sh b/ci/jobs/2-docs/job.sh index a72bca4ba..a72bca4ba 100755 --- a/ci/jobs/1-docs/job.sh +++ b/ci/jobs/2-docs/job.sh diff --git a/ci/jobs/2-deb-package/install-fix.patch b/ci/jobs/3-deb-package/install-fix.patch index 8334c5a7a..8334c5a7a 100644 --- a/ci/jobs/2-deb-package/install-fix.patch +++ b/ci/jobs/3-deb-package/install-fix.patch diff --git a/ci/jobs/2-deb-package/job.sh b/ci/jobs/3-deb-package/job.sh index dc78cdf24..dc78cdf24 100755 --- a/ci/jobs/2-deb-package/job.sh +++ b/ci/jobs/3-deb-package/job.sh |