[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] 03/05: ci: add test job
From: |
gnunet |
Subject: |
[taler-exchange] 03/05: ci: add test job |
Date: |
Mon, 04 Sep 2023 20:50:46 +0200 |
This is an automated email from the git hooks/post-receive script.
devan-carpenter pushed a commit to branch master
in repository exchange.
commit 2c3a26363565f64b5d6acb8e736af66cebfd46d6
Author: Devan Carpenter <devan@taler.net>
AuthorDate: Sat Aug 26 01:18:55 2023 -0400
ci: add test job
---
ci/jobs/{1-docs => 1-test}/job.sh | 2 +-
ci/jobs/1-test/test.sh | 10 ++++++++++
ci/jobs/{1-docs => 2-docs}/docs.sh | 0
ci/jobs/{1-docs => 2-docs}/job.sh | 0
ci/jobs/{2-deb-package => 3-deb-package}/install-fix.patch | 0
ci/jobs/{2-deb-package => 3-deb-package}/job.sh | 0
6 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ci/jobs/1-docs/job.sh b/ci/jobs/1-test/job.sh
similarity index 77%
copy from ci/jobs/1-docs/job.sh
copy to ci/jobs/1-test/job.sh
index a72bca4b..bfb24e33 100755
--- a/ci/jobs/1-docs/job.sh
+++ b/ci/jobs/1-test/job.sh
@@ -3,4 +3,4 @@ set -exuo pipefail
job_dir=$(dirname "${BASH_SOURCE[0]}")
-"${job_dir}"/docs.sh
+"${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 00000000..20685d8e
--- /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
similarity index 100%
rename from ci/jobs/1-docs/docs.sh
rename to ci/jobs/2-docs/docs.sh
diff --git a/ci/jobs/1-docs/job.sh b/ci/jobs/2-docs/job.sh
similarity index 100%
rename from ci/jobs/1-docs/job.sh
rename to 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
similarity index 100%
rename from ci/jobs/2-deb-package/install-fix.patch
rename to 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
similarity index 100%
rename from ci/jobs/2-deb-package/job.sh
rename to ci/jobs/3-deb-package/job.sh
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.