feat: moved to gitea workflows for CI/CD
Some checks failed
Build and run challenges / Build and run challenge for day {{ matrix.day_number }} (1) (push) Failing after 24s
Build and run challenges / Build and run challenge for day {{ matrix.day_number }} (2) (push) Failing after 2s
Build and run challenges / Build and run challenge for day {{ matrix.day_number }} (3) (push) Failing after 3s
Some checks failed
Build and run challenges / Build and run challenge for day {{ matrix.day_number }} (1) (push) Failing after 24s
Build and run challenges / Build and run challenge for day {{ matrix.day_number }} (2) (push) Failing after 2s
Build and run challenges / Build and run challenge for day {{ matrix.day_number }} (3) (push) Failing after 3s
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
This commit is contained in:
parent
bafa3b852a
commit
59f7b57dfa
31
.gitea/workflows/build_and_deploy.yml
Normal file
31
.gitea/workflows/build_and_deploy.yml
Normal file
@ -0,0 +1,31 @@
|
||||
name: Build and run challenges
|
||||
defaults:
|
||||
run:
|
||||
shell: sh
|
||||
on:
|
||||
push:
|
||||
|
||||
|
||||
jobs:
|
||||
build-and-run:
|
||||
name: "Build and run challenge for day {{ matrix.day_number }}"
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
day_number: [1, 2, 3]
|
||||
#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]
|
||||
defaults:
|
||||
run:
|
||||
working-directory: day${{ matrix.day_number }}
|
||||
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 for day ${{ matrix.day_number }}
|
||||
run: cargo run --release ./input
|
Loading…
Reference in New Issue
Block a user