feat: moved to gitea workflows for CI/CD
Some checks failed
Build and run challenges / Challenge for day ${{ matrix.day_number }} (1) (push) Successful in 17s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (10) (push) Successful in 18s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (13) (push) Failing after 22s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (14) (push) Successful in 27s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (12) (push) Successful in 31s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (15) (push) Successful in 37s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (17) (push) Successful in 36s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (11) (push) Successful in 49s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (18) (push) Successful in 39s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (16) (push) Successful in 53s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (19) (push) Successful in 48s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (21) (push) Successful in 49s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (20) (push) Successful in 54s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (22) (push) Successful in 51s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (24) (push) Successful in 49s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (23) (push) Successful in 52s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (2) (push) Successful in 1m0s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (25) (push) Successful in 49s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (3) (push) Successful in 50s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (4) (push) Successful in 49s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (6) (push) Successful in 46s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (7) (push) Successful in 44s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (5) (push) Successful in 49s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (9) (push) Successful in 41s
Build and run challenges / Challenge for day ${{ matrix.day_number }} (8) (push) Successful in 43s

Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
This commit is contained in:
Louis Vallat 2024-09-05 21:58:15 +02:00
parent bafa3b852a
commit 2cb9d9fa9e
Signed by: louis
SSH Key Fingerprint: SHA256:usb9EA8eIADT+Bt0Ne8ZkISCbgPSOYkVgS2iZqdZj8s

View File

@ -0,0 +1,29 @@
name: Build and run challenges
defaults:
run:
shell: sh
on:
push:
jobs:
build-and-run:
name: "Challenge for day ${{ matrix.day_number }}"
strategy:
fail-fast: true
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: debian-12
steps:
- name: Install dependencies
run: |
apt update
apt install git
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Run challenge
run: |
cd day${{ matrix.day_number }}
cargo run --release ./input