Add ci workflow
This commit is contained in:
parent
62d6c43e3c
commit
2619483529
20
.gitea/workflows/gitea-ci.yaml
Normal file
20
.gitea/workflows/gitea-ci.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
name: Cargo Build and Test
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build_and_test:
|
||||
name: Rust project - latest
|
||||
runs-on: runner
|
||||
container: docker.io/library/rust
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
# - container: rust:latest
|
||||
# run: rustup update stable && rustup default stable
|
||||
- run: cargo build --verbose --all-features --all-targets
|
||||
- run: cargo test --verbose --all-features --all-targets
|
Loading…
Reference in New Issue
Block a user