advent-of-code-2022/.gitea/workflows/build_and_run.yml
Louis Vallat 72ec952f43
All checks were successful
Build and run challenges / Challenge for day (1) (push) Successful in 13s
Build and run challenges / Challenge for day (2) (push) Successful in 17s
Build and run challenges / Challenge for day (4) (push) Successful in 15s
Build and run challenges / Challenge for day (3) (push) Successful in 20s
feat: moved to gitea workflows for CI/CD
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
2024-09-07 14:44:07 +02:00

25 lines
486 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: 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