From 141c7296fb09887358e331b310f3259472b2970e Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Sun, 1 Aug 2021 02:26:13 +0900 Subject: Add sicp-acl2 job. --- jobs/sicp-acl2.before | 10 ++++++++++ jobs/sicp-acl2.develop.before | 1 + jobs/sicp-acl2.develop.run | 1 + jobs/sicp-acl2.run | 11 +++++++++++ 4 files changed, 23 insertions(+) create mode 100755 jobs/sicp-acl2.before create mode 120000 jobs/sicp-acl2.develop.before create mode 120000 jobs/sicp-acl2.develop.run create mode 100755 jobs/sicp-acl2.run 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!' -- cgit v1.2.3