Skip to content

Commit

Permalink
Add user input execution to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lpenz committed Dec 16, 2023
1 parent 0c6a4e0 commit 33587b1
Show file tree
Hide file tree
Showing 3 changed files with 1,117 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,20 @@ jobs:
coveralls: true
publish_cratesio: false
publish_github_release: false
solve:
strategy:
matrix:
day:
- day01
- day02
part: [ a, b ]
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: solve ${{ matrix.day }}${{ matrix.part }}
run: |
cargo run \
--release \
-p ${{ matrix.day }} \
--bin ${{ matrix.day }}${{ matrix.part }} \
< ${{ matrix.day }}/input.txt
Loading

0 comments on commit 33587b1

Please sign in to comment.