Louis Vallat
58de0f4395
Some checks failed
Build and run challenges / Challenge for day (1) (push) Failing after 2s
Build and run challenges / Challenge for day (2) (push) Failing after 2s
Build and run challenges / Challenge for day (3) (push) Failing after 2s
Build and run challenges / Challenge for day (4) (push) Failing after 1s
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
25 lines
493 B
YAML
25 lines
493 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]
|
|
runs-on: rust-bookworm
|
|
steps:
|
|
- name: Install dependencies
|
|
run: apk add git rust cargo
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Run challenge
|
|
run: |
|
|
cd day${{ matrix.day_number }}
|
|
cargo run --release ./input
|