advent-of-code-2024/.gitea/workflows/build_and_run.yml
Louis Vallat 2d1f19c228
All checks were successful
Build and run challenges / Challenge for day (1) (push) Successful in 3s
Build and run challenges / Challenge for day (2) (push) Successful in 3s
feat: added day 2 part 1 and 2
Signed-off-by: Louis Vallat <contact@louis-vallat.fr>
2024-12-03 22:05:29 +01:00

23 lines
416 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]
runs-on: rust-bookworm
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run challenge
run: |
cd day${{ matrix.day_number }}
cargo run --release ./input