aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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!'