add gitea workflows

This commit is contained in:
fabolous005 2024-04-03 17:47:09 +02:00
parent 0a2d572188
commit 9c71f531f2

View File

@ -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"