Add optional CPU cycle measurement to graviola-bench #1118
Workflow file for this run
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: ctgrind | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: "0 18 * * *" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| VALGRIND_BUG_494162: 1 | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| include: | |
| - os: ubuntu-latest | |
| build: "" | |
| - os: ubuntu-latest | |
| build: --release | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| persist-credentials: false | |
| - name: Install stable toolchain | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: stable | |
| - name: Install valgrind | |
| run: sudo apt-get update && sudo apt-get install -y valgrind | |
| - name: ctgrind tests | |
| run: admin/ctgrind ${{ matrix.build }} |