aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2021-08-01 02:26:13 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2021-08-01 02:26:13 +0900
commit141c7296fb09887358e331b310f3259472b2970e (patch)
tree786fc81a5a25b0ba1ca3fc991456888fa78bb5dc
parentf539971f55719078ea7ecefa264efeb179a731b4 (diff)
Add sicp-acl2 job.
-rwxr-xr-xjobs/sicp-acl2.before10
l---------jobs/sicp-acl2.develop.before1
l---------jobs/sicp-acl2.develop.run1
-rwxr-xr-xjobs/sicp-acl2.run11
4 files changed, 23 insertions, 0 deletions
diff --git a/jobs/sicp-acl2.before b/jobs/sicp-acl2.before
new file mode 100755
index 0000000..6d98478
--- /dev/null
+++ b/jobs/sicp-acl2.before
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+git clone https://git.tojo.tokyo/sicp-acl2.git .
+echo
+git checkout "${branch:-master}"
+echo '---'
+git log -n 1
+echo '---'
+echo
diff --git a/jobs/sicp-acl2.develop.before b/jobs/sicp-acl2.develop.before
new file mode 120000
index 0000000..4b4e835
--- /dev/null
+++ b/jobs/sicp-acl2.develop.before
@@ -0,0 +1 @@
+./sicp-acl2.before \ No newline at end of file
diff --git a/jobs/sicp-acl2.develop.run b/jobs/sicp-acl2.develop.run
new file mode 120000
index 0000000..68ad9df
--- /dev/null
+++ b/jobs/sicp-acl2.develop.run
@@ -0,0 +1 @@
+./sicp-acl2.run \ No newline at end of file
diff --git a/jobs/sicp-acl2.run b/jobs/sicp-acl2.run
new file mode 100755
index 0000000..0f6bf6c
--- /dev/null
+++ b/jobs/sicp-acl2.run
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+echo
+for path in $(find -type f -name '*.lisp'); do
+ printf "%s\n " "${path#./}"
+ laminarc run acl2-verify path="$(pwd)/$path"
+ echo
+done
+
+echo 'Verified all files!'