Skip to content

Add foldhash to benchmarks (#119) #436

Add foldhash to benchmarks (#119)

Add foldhash to benchmarks (#119) #436

Workflow file for this run

name: Build & Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Build & Test ${{ matrix.name }}
strategy:
fail-fast: false
matrix:
include:
- name: "aarch64"
runner: "ubuntu-24.04-arm"
hybrid: false
- name: "X86_64"
runner: "ubuntu-latest"
hybrid: false
- name: "x86_64-hybrid"
runner: "ubuntu-latest"
hybrid: true
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- name: Update rust
run: rustup update
- name: Switch to nightly rust
if: ${{ matrix.hybrid == true }}
run: rustup default nightly
- name: Info
run: |
cat /proc/cpuinfo | grep 'model name' | uniq
cargo rustc -- --version
- name: Build
if: ${{ matrix.hybrid == false }}
run: cargo build --release
- name: Build (hybrid)
if: ${{ matrix.hybrid == true }}
run: cargo build --release --features hybrid
- name: Test
if: ${{ matrix.hybrid == false }}
run: cargo test --release
- name: Test (hybrid)
if: ${{ matrix.hybrid == true }}
run: cargo test --release --features hybrid