@@ -24,16 +24,19 @@ jobs:
2424 fail-fast : false
2525 matrix :
2626 platform :
27+ - linux-arm
2728 - linux-x64
28- - macos-arm64
29+ - macos-arm
2930 - macos-x64
3031 - windows-x64
3132
3233 include :
34+ - platform : linux-arm
35+ os : ubuntu-24.04-arm
3336 - platform : linux-x64
34- os : ubuntu-22.04
35- - platform : macos-arm64
36- os : macos-14
37+ os : ubuntu-latest
38+ - platform : macos-arm
39+ os : macos-15
3740 - platform : macos-x64
3841 os : macos-13
3942 - platform : windows-x64
5457 tool : cargo-llvm-cov
5558
5659 - name : Tests
57- if : ${{ !startsWith( matrix.os, 'ubuntu-') }}
60+ if : ${{ matrix.platform != 'linux-x64' }}
5861 env :
5962 CARGO_TERM_COLOR : always
6063 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
6467 cargo test
6568
6669 - name : Tests
67- if : ${{ startsWith( matrix.os, 'ubuntu-') }}
70+ if : ${{ matrix.platform == 'linux-x64' }}
6871 env :
6972 CARGO_TERM_COLOR : always
7073 GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
7477 cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
7578
7679 - name : Upload to codecov.io
77- if : ${{ startsWith( matrix.os, 'ubuntu-') }}
80+ if : ${{ matrix.platform == 'linux-x64' }}
7881 uses : codecov/codecov-action@v4
7982 with :
8083 files : lcov.info
@@ -84,11 +87,11 @@ jobs:
8487 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
8588
8689 - name : Install benchmarking tools
87- if : ${{ github.ref == 'refs/heads/main' && startsWith( matrix.os, 'ubuntu-') }}
90+ if : ${{ github.ref == 'refs/heads/main' && matrix.platform == 'linux-x64' }}
8891 uses : bencherdev/bencher@main
8992
9093 - name : Run benchmarks
91- if : ${{ github.ref == 'refs/heads/main' && startsWith( matrix.os, 'ubuntu-') }}
94+ if : ${{ github.ref == 'refs/heads/main' && matrix.platform == 'linux-x64' }}
9295 env :
9396 BENCHER_API_TOKEN : ${{ secrets.BENCHER_API_TOKEN }}
9497 BENCHER_PROJECT : theseus-rs-postgresql-embedded
0 commit comments