diff --git a/.github/workflows/umbral-pre.yml b/.github/workflows/umbral-pre.yml index 545e58a4..edc7c77d 100644 --- a/.github/workflows/umbral-pre.yml +++ b/.github/workflows/umbral-pre.yml @@ -71,6 +71,28 @@ jobs: - run: cargo check --target ${{ matrix.target }} --all-features - run: cargo test --release --target ${{ matrix.target }} + bench: + runs-on: ubuntu-latest + strategy: + matrix: + include: + # 64-bit Linux + - target: x86_64-unknown-linux-gnu + rust: 1.51.0 # MSRV + - target: x86_64-unknown-linux-gnu + rust: stable + + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: ${{ matrix.target }} + override: true + - run: ${{ matrix.deps }} + - run: cargo bench --target ${{ matrix.target }} --all-features + codecov: runs-on: ubuntu-latest steps: