Skip to content

Commit dcff9cd

Browse files
committed
use same cvc5 version in all scattered tests
1 parent 98de834 commit dcff9cd

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
echo "${{ matrix.brew }}/opt/make/libexec/gnubin" >> $GITHUB_PATH
6363
- name: Fetch CVC5
6464
run: |
65-
util/fetch_cvc5.py 1.3.1 ${{ matrix.cvc5-plat }}
65+
util/fetch_cvc5.py ${{ matrix.cvc5-plat }}
6666
echo "$GITHUB_WORKSPACE" >> $GITHUB_PATH
6767
- name: Executing unit tests
6868
run: |

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
sudo apt-get install -y graphviz
4646
- name: Fetch CVC5
4747
run: |
48-
util/fetch_cvc5.py 1.2.0 linux
48+
util/fetch_cvc5.py linux
4949
echo "$GITHUB_WORKSPACE" >> $GITHUB_PATH
5050
- name: Test CVC5
5151
run: |

util/fetch_cvc5.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,17 @@
3131
CVC5_BINARY = "cvc5"
3232
CVC5_EXECUTABLE = True
3333

34+
# -----------------------------------------------------------------------
35+
# Canonical CVC5 binary version used throughout this project.
36+
# Bump this together with:
37+
# * The http_archive URLs/sha256 hashes in MODULE.bazel
38+
# * The "cvc5>=" lower-bound in requirements.txt / requirements_dev.txt
39+
# -----------------------------------------------------------------------
40+
CVC5_DEFAULT_VERSION = "1.3.2"
41+
3442
ap = argparse.ArgumentParser()
35-
ap.add_argument("version")
43+
ap.add_argument("--version", default=CVC5_DEFAULT_VERSION,
44+
help="CVC5 release tag (default: %(default)s)")
3645
ap.add_argument("platform")
3746

3847
options = ap.parse_args()

0 commit comments

Comments
 (0)