From 9a02ed65b39e9327244cdc8e4a07ebcad9c96497 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Sat, 6 Jan 2024 01:03:12 +0100 Subject: [PATCH] Add ci workflow --- .gitea/workflows/gitea-ci.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitea/workflows/gitea-ci.yaml diff --git a/.gitea/workflows/gitea-ci.yaml b/.gitea/workflows/gitea-ci.yaml new file mode 100644 index 0000000..4f9c432 --- /dev/null +++ b/.gitea/workflows/gitea-ci.yaml @@ -0,0 +1,21 @@ +name: Cargo Build and Test + +on: + push: + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + build_and_test: + name: Rust project - latest + runs-on: debian-latest + steps: + - uses: actions/checkout@v3 + # - container: rust:latest + # run: rustup update stable && rustup default stable + - container: rust:latest + run: cargo build --verbose --all-features --all-targets + - container: rust:latest + run: cargo test --verbose --all-features --all-targets