advent-of-code-2021/.gitea/workflows/build_and_run.yml
Louis Vallat 78b193c2a9
All checks were successful
Build and run challenges / Challenge for day (1) (push) Successful in 9s
Build and run challenges / Challenge for day (10) (push) Successful in 15s
Build and run challenges / Challenge for day (11) (push) Successful in 22s
Build and run challenges / Challenge for day (12) (push) Successful in 25s
Build and run challenges / Challenge for day (15) (push) Successful in 20s
Build and run challenges / Challenge for day (14) (push) Successful in 26s
Build and run challenges / Challenge for day (18) (push) Successful in 19s
Build and run challenges / Challenge for day (16) (push) Successful in 30s
Build and run challenges / Challenge for day (13) (push) Successful in 42s
Build and run challenges / Challenge for day (17) (push) Successful in 36s
Build and run challenges / Challenge for day (20) (push) Successful in 35s
Build and run challenges / Challenge for day (22) (push) Successful in 36s
Build and run challenges / Challenge for day (2) (push) Successful in 44s
Build and run challenges / Challenge for day (21) (push) Successful in 42s
Build and run challenges / Challenge for day (24) (push) Successful in 38s
Build and run challenges / Challenge for day (25) (push) Successful in 38s
Build and run challenges / Challenge for day (19) (push) Successful in 53s
Build and run challenges / Challenge for day (3) (push) Successful in 37s
Build and run challenges / Challenge for day (23) (push) Successful in 43s
Build and run challenges / Challenge for day (8) (push) Successful in 30s
Build and run challenges / Challenge for day (4) (push) Successful in 39s
Build and run challenges / Challenge for day (6) (push) Successful in 35s
Build and run challenges / Challenge for day (7) (push) Successful in 34s
Build and run challenges / Challenge for day (9) (push) Successful in 30s
Build and run challenges / Challenge for day (5) (push) Successful in 39s
feat: moved to gitea workflows for CI/CD
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
2024-09-05 22:18:34 +02:00

25 lines
565 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, 22, 23, 24, 25]
runs-on: alpine
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