From 0e8ff3bbfede964ad78334b32d3447fff34a6394 Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Tue, 14 Apr 2026 10:30:27 +0200 Subject: [PATCH] ci: add a macos integration test --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5ee2127..c59db13b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -207,6 +207,35 @@ jobs: run: cargo codspeed run mode: walltime + walltime-macos-test: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - uses: moonrepo/setup-rust@v1 + with: + cache-target: release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - run: cargo install --path crates/cargo-codspeed --locked + + - name: Build the benchmarks + run: | + # Remove the cargo config else it forces instrumentation mode + rm -f .cargo/config.toml + cargo codspeed build -p codspeed-divan-compat + + - name: Run the benchmarks + uses: CodSpeedHQ/action@main + env: + MY_ENV_VAR: "YES" + CODSPEED_SKIP_UPLOAD: "true" + with: + run: cargo codspeed run -p codspeed-divan-compat + mode: walltime + musl-build-check: strategy: matrix: