prepare release crate v1.5.1 #9
Workflow file for this run
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
name: BVT | |
on: | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: | |
env: | |
RUST_VERSION: 1.73.0 | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: [amd64, arm64, ppc64le, riscv64] | |
steps: | |
- uses: actions/checkout@v2 | |
- run: rustup install ${{ env.RUST_VERSION }} && rustup default ${{ env.RUST_VERSION }} | |
- run: make debug | |
fmt: | |
name: Format Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: rustup install ${{ env.RUST_VERSION }} && rustup default ${{ env.RUST_VERSION }} | |
- run: rustup component add rustfmt | |
- run: make fmt | |
clippy: | |
name: Clippy Check | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: [amd64, arm64, ppc64le, riscv64] | |
steps: | |
- uses: actions/checkout@v2 | |
- run: rustup install ${{ env.RUST_VERSION }} && rustup default ${{ env.RUST_VERSION }} | |
- run: rustup component add clippy | |
- run: make clippy | |
test: | |
name: Run Unit Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: [amd64, arm64, ppc64le, riscv64] | |
steps: | |
- uses: actions/checkout@v2 | |
- run: rustup install ${{ env.RUST_VERSION }} && rustup default ${{ env.RUST_VERSION }} | |
- run: make test | |
bench: | |
name: Run Benchmark Test | |
strategy: | |
matrix: | |
arch: [amd64, arm64, ppc64le, riscv64] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: rustup install ${{ env.RUST_VERSION }} && rustup default ${{ env.RUST_VERSION }} | |
- run: make bench |