From c3d8a17e86643518a9b5bd5dba9c1ee155331368 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Thu, 5 Sep 2024 21:58:15 +0200 Subject: [PATCH] feat: moved to gitea workflows for CI/CD Signed-off-by: Louis Vallat --- .gitea/workflows/build_and_deploy.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitea/workflows/build_and_deploy.yml diff --git a/.gitea/workflows/build_and_deploy.yml b/.gitea/workflows/build_and_deploy.yml new file mode 100644 index 0000000..5f85ca0 --- /dev/null +++ b/.gitea/workflows/build_and_deploy.yml @@ -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