Skip to content

Commit

Permalink
CI workflow - draft
Browse files Browse the repository at this point in the history
  • Loading branch information
xanathar committed Apr 29, 2024
1 parent 496b9f4 commit 7cc9a5f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/CI-Rust-Stable.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7cc9a5f

Please sign in to comment.