Louis Vallat
27060735f8
All checks were successful
Build and run challenges / Challenge for day (1) (push) Successful in 3s
Build and run challenges / Challenge for day (10) (push) Successful in 3s
Build and run challenges / Challenge for day (11) (push) Successful in 3s
Build and run challenges / Challenge for day (12) (push) Successful in 3s
Build and run challenges / Challenge for day (13) (push) Successful in 3s
Build and run challenges / Challenge for day (14) (push) Successful in 3s
Build and run challenges / Challenge for day (15) (push) Successful in 3s
Build and run challenges / Challenge for day (16) (push) Successful in 3s
Build and run challenges / Challenge for day (17) (push) Successful in 3s
Build and run challenges / Challenge for day (18) (push) Successful in 3s
Build and run challenges / Challenge for day (19) (push) Successful in 3s
Build and run challenges / Challenge for day (2) (push) Successful in 3s
Build and run challenges / Challenge for day (20) (push) Successful in 3s
Build and run challenges / Challenge for day (21) (push) Successful in 3s
Build and run challenges / Challenge for day (4) (push) Successful in 5s
Build and run challenges / Challenge for day (5) (push) Successful in 5s
Build and run challenges / Challenge for day (6) (push) Successful in 5s
Build and run challenges / Challenge for day (3) (push) Successful in 11s
Build and run challenges / Challenge for day (7) (push) Successful in 4s
Build and run challenges / Challenge for day (8) (push) Successful in 3s
Build and run challenges / Challenge for day (9) (push) Successful in 3s
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
27 lines
677 B
YAML
27 lines
677 B
YAML
name: Build and run challenges
|
|
defaults:
|
|
run:
|
|
shell: sh
|
|
on:
|
|
push:
|
|
|
|
|
|
jobs:
|
|
build-and-run:
|
|
name: Challenge for day
|
|
strategy:
|
|
matrix:
|
|
day_number: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21]
|
|
runs-on: rust-bookworm
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Run challenge
|
|
env:
|
|
DAY_FOLDER: day${{ matrix.day_number }}
|
|
INPUT_BASE64: ${{ secrets[format('INPUT_DAY{0}', matrix.day_number)] }}
|
|
run: |
|
|
echo $INPUT_BASE64 | base64 --decode > /tmp/input
|
|
cd $DAY_FOLDER
|
|
cargo run --release /tmp/input
|