Skip to content

Commit

Permalink
Merge pull request #24 from gchazot/2023-to-the-end
Browse files Browse the repository at this point in the history
2023 to the end
  • Loading branch information
gchazot authored Dec 15, 2024
2 parents d7e91e3 + e4e075b commit 1926b57
Show file tree
Hide file tree
Showing 88 changed files with 6,579 additions and 4,626 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,22 @@ 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: moonrepo/setup-rust@v1
uses: dtolnay/rust-toolchain@stable
with:
channel: ${{ matrix.version }}
toolchain: ${{ matrix.version }}
- name: Setup Cache
if: ${{ matrix.language == 'rust' }}
uses: Swatinem/rust-cache@v2
- name: Build
if: ${{ matrix.language == 'rust' }}
working-directory: ${{ matrix.folder }}
Expand Down
289 changes: 289 additions & 0 deletions year_2023/Cargo.lock

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

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

[dependencies]
aoc_utils = { path = "../aoc_utils" }
z3 = "0.12.1"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions year_2023/input/day25-example.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
jqt: rhn xhk nvd
rsh: frs pzl lsr
xhk: hfx
cmg: qnr nvd lhk bvb
rhn: xhk bvb hfx
bvb: xhk hfx
pzl: lsr hfx nvd
qnr: nvd
ntq: jqt hfx bvb xhk
nvd: lhk
lsr: lhk
rzs: qnr cmg lsr rsh
frs: qnr lhk lsr
Loading

0 comments on commit 1926b57

Please sign in to comment.