Skip to content

CI

CI #65

Workflow file for this run

name: "CI"
# This workflow is triggered on all pushes to the repository, or on Friday night.
on:
pull_request: {}
push:
branches:
- master
- staging
- trying
schedule:
- cron: "0 23 * * FRI"
workflow_call:
jobs:
rust_lints:
secrets: "inherit"
uses: "boinkor-net/ci-baseline-rust/.github/workflows/ci_baseline_rust_lints.yml@main"
rust_tests:
secrets: "inherit"
uses: "boinkor-net/ci-baseline-rust/.github/workflows/ci_baseline_rust_tests.yml@main"
strategy:
fail-fast: false
matrix:
rust_toolchain: [nightly, stable]
cargo_test_args:
- "--no-default-features --features no_std"
- "--no-default-features --features 'jitter no_std'"
- "--no-default-features --features std"
- ""
with:
rust_toolchain: ${{matrix.rust_toolchain}}
cargo_test_args: ${{matrix.cargo_test_args}}
cargo_bench:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
needs: rust_tests
steps:
- uses: actions/[email protected]
- uses: dtolnay/rust-toolchain@stable
- run: "cargo bench"
bors_passing:
runs-on: ubuntu-latest
needs:
- rust_tests
- rust_lints
steps:
- run: true
name: success