Skip to content

Commit

Permalink
Install Z3 when running 2023 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gchazot committed Dec 15, 2024
1 parent c67eae2 commit bb381fe
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 20 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ jobs:
if: ${{ matrix.language == 'python'}}
run: python -m unittest discover -t . -s ${{ matrix.folder }} -p "*.py"

- name: Setup Z3
if: ${{ matrix.folder == 'year_2023' }}
id: z3
uses: cda-tum/setup-z3@v1
with:
add_to_library_path: true
version: 4.11.2

- name: Setup Rust
if: ${{ matrix.language == 'rust' }}
uses: dtolnay/rust-toolchain@stable
Expand Down
19 changes: 0 additions & 19 deletions year_2023/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion year_2023/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ edition = "2021"

[dependencies]
aoc_utils = { path = "../aoc_utils" }
z3 = { version = "0.12", features = ["static-link-z3"] }
z3 = "0.12.1"

0 comments on commit bb381fe

Please sign in to comment.