Skip to content

Add extra diagnostics. #5

Add extra diagnostics.

Add extra diagnostics. #5

Workflow file for this run

name: Bench
# TODO: Change back to dispatch
on:
[push, pull_request, workflow_dispatch]
jobs:
bench:
name: Bench ${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- if: matrix.os == 'ubuntu-latest'
name: Get Linux CPU Info
run: cat /proc/cpuinfo
shell: bash
- if: matrix.os == 'macos-latest'
name: Get macOS CPU Info
run: sysctl -a | grep cpu
shell: bash
- if: matrix.os == 'windows-latest'
name: Get Windows CPU Info
run: wmic cpu list /format:list
shell: bash
# TODO: Restore later
- run: cargo --version
- run: cmake --version
# TODO: Add the rust stuff right here
- run: cd extras/simple-bench
- run: |
cd extras/simple-bench/ext
cmake -B build .
cmake --build build --config Release
name: Build C/C++