feat: support ppc64le and riscv64 #5
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 | |
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 | |
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 | |
steps: | |
- uses: actions/checkout@v2 | |
- run: rustup install ${{ env.RUST_VERSION }} && rustup default ${{ env.RUST_VERSION }} | |
- run: make test | |
bench: | |
name: Run Benchmark Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: rustup install ${{ env.RUST_VERSION }} && rustup default ${{ env.RUST_VERSION }} | |
- run: make bench |