From 7cc9a5ff49f06deab241754e6d09b71472f64398 Mon Sep 17 00:00:00 2001 From: xanathar Date: Mon, 29 Apr 2024 22:54:33 +0200 Subject: [PATCH] CI workflow - draft --- .github/workflows/CI-Rust-Stable.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/CI-Rust-Stable.yml diff --git a/.github/workflows/CI-Rust-Stable.yml b/.github/workflows/CI-Rust-Stable.yml new file mode 100644 index 0000000..ddcbd1e --- /dev/null +++ b/.github/workflows/CI-Rust-Stable.yml @@ -0,0 +1,28 @@ +name: CI-Rust-Stable + +on: + push: + branches: [ "wip/ci", "release/**" ] + pull_request: + branches: [ "wip/ci", "release/**" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Sysinfo + run: uname -a && cargo -V && lspci -nn -v + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose + - name: Clippy + run: cargo clippy -- -D warnings + - name: Fmt + run: cargo fmt --all -- --check