Skip to content

Commit 83414b0

Browse files
committed
feat(ci): add check to ensure compilation on all platforms
1 parent 22e8366 commit 83414b0

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,21 @@ jobs:
1919
with:
2020
extra_args: --all-files
2121

22-
lint-windows:
23-
runs-on: windows-latest
22+
test-codspeed:
23+
strategy:
24+
matrix:
25+
os: [ubuntu-latest, windows-latest, macos-latest]
26+
runs-on: ${{ matrix.os }}
2427
steps:
2528
- uses: actions/checkout@v4
2629
with:
2730
submodules: true
2831
- uses: moonrepo/setup-rust@v1
2932
with:
30-
components: rustfmt, clippy
31-
- uses: pre-commit/[email protected]
32-
with:
33-
extra_args: --all-files
33+
cache-target: release
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
- run: cargo test -p codspeed
3437

3538
msrv-check:
3639
runs-on: ubuntu-latest
@@ -150,7 +153,7 @@ jobs:
150153
if: always()
151154
needs:
152155
- lint
153-
- lint-windows
156+
- test-codspeed
154157
- msrv-check
155158
- tests
156159
- compat-integration-test-instrumentation

0 commit comments

Comments
 (0)