Skip to content

Commit b894567

Browse files
authored
Lab 2025 (#362)
* Fix matches against emp * Handle commands that have both success and error results * Attempt to produce binaries in CI * CI refactor * Attempt to improve Docker CI
1 parent d757747 commit b894567

File tree

18 files changed

+280
-311
lines changed

18 files changed

+280
-311
lines changed

.github/workflows/ci.yml

Lines changed: 108 additions & 173 deletions
Large diffs are not rendered by default.

Dockerfile

Lines changed: 0 additions & 37 deletions
This file was deleted.

Gillian-C/examples/amazon/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ifdef GITHUB_ACTIONS
2-
VERIFY=opam exec -- gillian-c verify
2+
VERIFY=gillian-c verify
33
else
44
VERIFY=dune exec -- gillian-c verify
55
endif
@@ -53,4 +53,4 @@ t:
5353
header.c edk.c array_list.c ec.c byte_buf.c \
5454
hash_table.c string.c allocator.c \
5555
error.c base.c \
56-
--fstruct-passing --no-lemma-proof --proc aws_cryptosdk_hdr_parse -l disabled --dump-smt
56+
--fstruct-passing --no-lemma-proof --proc aws_cryptosdk_hdr_parse -l disabled --dump-smt

Gillian-C/examples/amazon_bi/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ifdef GITHUB_ACTIONS
2-
ACT=opam exec -- gillian-c act
2+
ACT=gillian-c act
33
else
44
ACT=dune exec -- gillian-c act
55
endif
@@ -12,4 +12,4 @@ default:
1212
--fstruct-passing --ignore-undef --specs-to-stdout -l disabled
1313

1414
clean:
15-
rm -rf *.i *.deps
15+
rm -rf *.i *.deps

Gillian-C/scripts/testACT.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e
44

5-
ACT="opam exec -- gillian-c act"
5+
ACT="gillian-c act"
66

77
echo "--- bi-abducing SLL ---"
88
time $ACT act/sll.c -l disabled
@@ -26,4 +26,4 @@ printf "\n\n"
2626

2727
echo "--- bi-abducing BST ---"
2828
time $ACT act/bst.c -l disabled
29-
printf "\n\n"
29+
printf "\n\n"

Gillian-C/scripts/testConcrete.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
opam exec -- gillian-c bulk-exec concrete
3+
gillian-c bulk-exec concrete

Gillian-C/scripts/testFolder.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
folder=$1
44
count=$2
55

6-
WPST="opam exec -- gillian-c wpst"
6+
WPST="gillian-c wpst"
77

88
for filename in $folder/*.c; do
99
[ -f "$filename" ] || break
@@ -13,4 +13,4 @@ for filename in $folder/*.c; do
1313
else
1414
time $WPST "$filename" -l disabled
1515
fi
16-
done
16+
done

Gillian-C/scripts/testMultifile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -e
88
# printf "\n\n"
99

1010
echo "--- verifying BST ---"
11-
opam exec -- gillian-c verify -l disabled multifile/verification/sll_a.c multifile/verification/sll_b.c
11+
gillian-c verify -l disabled multifile/verification/sll_a.c multifile/verification/sll_b.c
1212
printf "\n\n"
1313

1414
# echo "--- bi-abducing BST ---"

Gillian-C/scripts/testSymb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e
44

5-
WPST="time opam exec -- gillian-c wpst"
5+
WPST="time gillian-c wpst"
66

77
# TODO (Alexis): Make incremental analysis thread-safe to allow the use of --parallel
88
echo "--- testing SLL ---"

Gillian-C/scripts/testVerif.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
VERIFY="time opam exec -- gillian-c verify"
3+
VERIFY="time gillian-c verify"
44

55
echo "--- verifying SLL ---"
66
$VERIFY verification/sll.c -l disabled
@@ -16,4 +16,4 @@ printf "\n\n"
1616

1717
echo "--- verifying sort ---"
1818
$VERIFY verification/sort.c -l disabled
19-
printf "\n\n"
19+
printf "\n\n"

0 commit comments

Comments
 (0)