Create cbt.yml

Hmm. Never used those. Its time to try
This commit is contained in:
Yiffy Dev 2024-10-30 11:18:04 +05:00 • committed by spushk
commit 638cf75e1b
Signed by: spushk
GPG key ID: 7797B761E105E8AA

23
.github/workflows/cbt.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: cargo basic build-test
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Sabry - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose -all --all-features