feat: moved to gitea workflows for CI/CD
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

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 78b193c2a9
Signed by: louis
SSH Key Fingerprint: SHA256:usb9EA8eIADT+Bt0Ne8ZkISCbgPSOYkVgS2iZqdZj8s
2 changed files with 24 additions and 130 deletions

View File

@ -0,0 +1,24 @@
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

View File

@ -1,130 +0,0 @@
default:
image: rust
stages:
- build
day-1:
stage: build
script:
- cd day1; cargo run --release ./input
day-2:
stage: build
script:
- cd day2; cargo run --release ./input
day-3:
stage: build
script:
- cd day3; cargo run --release ./input
day-4:
stage: build
script:
- cd day4; cargo run --release ./input
day-5:
stage: build
script:
- cd day5; cargo run --release ./input
day-6:
stage: build
script:
- cd day6; cargo run --release ./input
day-7:
stage: build
script:
- cd day7; cargo run --release ./input
day-8:
stage: build
script:
- cd day8; cargo run --release ./input
day-9:
stage: build
script:
- cd day9; cargo run --release ./input
day-10:
stage: build
script:
- cd day10; cargo run --release ./input
day-11:
stage: build
script:
- cd day11; cargo run --release ./input
day-12:
stage: build
script:
- cd day12; cargo run --release ./input
day-13:
stage: build
script:
- cd day13; cargo run --release ./input
day-14:
stage: build
script:
- cd day14; cargo run --release ./input
day-15:
stage: build
script:
- cd day15; cargo run --release ./input
day-16:
stage: build
script:
- cd day16; cargo run --release ./input
day-17:
stage: build
script:
- cd day17; cargo run --release ./input
day-18:
stage: build
script:
- cd day18; cargo run --release ./input
day-19:
stage: build
script:
- cd day19; cargo run --release ./input
day-20:
stage: build
script:
- cd day20; cargo run --release ./input
day-21:
stage: build
script:
- cd day21; cargo run --release ./input
day-22:
stage: build
script:
- cd day22; cargo run --release ./input
day-23:
stage: build
script:
- cd day23; cargo run --release ./input
day-24:
stage: build
script:
- cd day24; cargo run --release ./input
day-25:
stage: build
script:
- cd day25; cargo run --release ./input