From 6cf0ebc57e1a46b9cf0a76f35cc2d058a0aa9cf5 Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Fri, 5 Jan 2024 23:49:40 +0100 Subject: [PATCH] Add ci workflow --- .gitea/workflows/gitea-ci.yaml | 16 ++++++++++++++++ 1 file changed, 16 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..778e2ac --- /dev/null +++ b/.gitea/workflows/gitea-ci.yaml @@ -0,0 +1,16 @@ +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-stable + steps: + - uses: actions/checkout@v3 + - run: rustup update stable && rustup default stable + - run: cargo build --verbose --all-features --all-targets + - run: cargo test --verbose --all-features --all-targets