From 9c71f531f23989caa22060b464569cd2830288e2 Mon Sep 17 00:00:00 2001 From: fabolous005 Date: Wed, 3 Apr 2024 17:47:09 +0200 Subject: [PATCH] add gitea workflows --- .gitea/workflows/build.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..0a89c97 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,27 @@ +on: [push] +name: CI +jobs: + build: + name: Rust project + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - uses: actions-rs/cargo@v1 + with: + command: build + args: --release + build_custom_pieces: + name: Rust project + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - uses: actions-rs/cargo@v1 + with: + command: build + args: --release --features "custom_pieces"