]> ruderich.org/simon Gitweb - nsscash/nsscash.git/blobdiff - ci/run
Add build manifests for build.sr.ht
[nsscash/nsscash.git] / ci / run
diff --git a/ci/run b/ci/run
new file mode 100755 (executable)
index 0000000..7217067
--- /dev/null
+++ b/ci/run
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -eu
+set -x
+
+
+make
+make test
+
+test -z "$(git clean -nd)" # any untracked files left?
+make clean
+test -z "$(git clean -ndx)" # any unignored files left?
+
+# Build with clang
+make      CC=clang
+make test CC=clang