-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dependency on abcBridge #1320
Changes from all commits
3fd2313
153b079
cecd30f
c3d4119
378b10c
a1c0a01
05206c6
84f08bd
c69d299
a80f830
83a14b6
a189a2d
7363709
95997d2
228c6cf
ed88d1d
618ae0d
e2c0f1a
02092f3
bc5379d
45c8dab
d7c30af
fb43090
d7f6e40
7619310
99fc521
e097341
3570baa
fe83d8f
53a5bf6
0b80419
f9f5b1e
02b199f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -201,6 +201,12 @@ jobs: | |
name: "${{ runner.os }}-bins" | ||
path: dist/bin | ||
|
||
- if: runner.os != 'Windows' | ||
uses: actions/download-artifact@v2 | ||
with: | ||
path: dist/bin | ||
name: abc-${{ runner.os }} | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.9' | ||
|
@@ -214,6 +220,12 @@ jobs: | |
run: | | ||
chmod +x dist/bin/* | ||
export PATH="$PWD/dist/bin:$PATH" | ||
echo "$PWD/dist/bin" >> "$GITHUB_PATH" | ||
abc -h || true | ||
yices --version | ||
yices-smt2 --version | ||
saw --version | ||
saw-remote-api --help | ||
${{ matrix.test }} | ||
|
||
cabal-test: | ||
|
@@ -256,18 +268,14 @@ jobs: | |
if: "runner.os != 'Windows'" | ||
run: chmod +x dist/bin/* | ||
|
||
- if: | | ||
runner.os != 'Windows' && | ||
matrix.suite == 'integration_tests' | ||
- if: runner.os != 'Windows' | ||
uses: actions/download-artifact@v2 | ||
with: | ||
path: bin | ||
name: abc-${{ runner.os }} | ||
|
||
- shell: bash | ||
if: | | ||
runner.os != 'Windows' && | ||
matrix.suite == 'integration_tests' | ||
if: runner.os != 'Windows' | ||
run: chmod +x bin/* | ||
|
||
- uses: actions/download-artifact@v2 | ||
|
@@ -308,9 +316,8 @@ jobs: | |
cache: ghcr.io/galoisinc/cache-saw-remote-api | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
git submodule update --init | ||
git -C deps/abcBridge submodule update --init | ||
with: | ||
submodules: true | ||
|
||
- uses: rlespinasse/[email protected] | ||
|
||
|
@@ -421,6 +428,11 @@ jobs: | |
name: "saw-Linux-${{ matrix.ghc }}" | ||
path: ./s2nTests/bin | ||
|
||
- uses: actions/download-artifact@v2 | ||
with: | ||
path: ./s2nTests/bin | ||
name: abc-${{ runner.os }} | ||
|
||
- shell: bash | ||
working-directory: s2nTests | ||
run: | | ||
|
@@ -439,7 +451,7 @@ jobs: | |
name: "s2n tests: ${{ matrix.s2n-target }}" | ||
working-directory: s2nTests | ||
run: | | ||
chmod +x bin/saw | ||
chmod +x bin/* | ||
make ${{ matrix.s2n-target }} | ||
|
||
# Indicates sufficient CI success for the purposes of mergify merging the pull | ||
|
+9 −0 | aig.cabal | |
+472 −0 | src/Data/AIG/CompactGraph.hs | |
+28 −0 | tests/Tests/FileIO.hs | |
+2 −0 | tests/aig-test.hs |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
import "DES.cry"; | ||
let {{ thm key msg = decrypt key (encrypt key msg) == msg }}; | ||
prove_print abc {{ thm }}; | ||
prove_print w4_abc_verilog {{ thm }}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ double_imp <- llvm_extract l "double_imp"; | |
double_ref <- llvm_extract l "double_ref"; | ||
let thm = {{ \x -> double_ref x == double_imp x }}; | ||
|
||
r <- prove abc thm; | ||
r <- prove yices thm; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is anything checking these exercises/tutorials? @benjaminselfridge could we eventually get something like https://github.com/GaloisInc/cryptol/blob/master/cryptol/CheckExercises.hs implemented for this if not? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep, there's an integration test that pulls them in. That's how I discovered that this would be a lot faster with Yices. :) |
||
print r; | ||
|
||
r <- prove yices thm; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the original intent was to checkout only the abcBridge dependency and not the entire set of submodules, @ldettwy .