forked from Rust-GCC/rusttest-to-dg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65ad202
commit c30a17f
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Rust Test to DejaGnu -- Build & Test | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
RUST_BACKTRACE: full | ||
|
||
jobs: | ||
build_and_test: | ||
name: Rust Test to DejaGnu [UBUNTU_LATEST] - latest | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
toolchain: | ||
# Only test on rust stable version | ||
- stable | ||
|
||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
||
- name: Cargp Build | ||
run: cargo build --verbose | ||
|
||
- name: Cargo Test | ||
run: cargo test --verbose | ||
|
||
- name: Cargo fmt | ||
run: cargo fmt --all --check | ||
|
||
- name: Run cargo clippy | ||
run: cargo clippy --workspace --all-targets -- -D warnings |