Add extra diagnostics. #5
This file contains hidden or 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: 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++ |