@@ -24,16 +24,19 @@ jobs:
24
24
fail-fast : false
25
25
matrix :
26
26
platform :
27
+ - linux-arm
27
28
- linux-x64
28
- - macos-arm64
29
+ - macos-arm
29
30
- macos-x64
30
31
- windows-x64
31
32
32
33
include :
34
+ - platform : linux-arm
35
+ os : ubuntu-24.04-arm
33
36
- 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
37
40
- platform : macos-x64
38
41
os : macos-13
39
42
- platform : windows-x64
54
57
tool : cargo-llvm-cov
55
58
56
59
- name : Tests
57
- if : ${{ !startsWith( matrix.os, 'ubuntu-') }}
60
+ if : ${{ matrix.platform != 'linux-x64' }}
58
61
env :
59
62
CARGO_TERM_COLOR : always
60
63
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
64
67
cargo test
65
68
66
69
- name : Tests
67
- if : ${{ startsWith( matrix.os, 'ubuntu-') }}
70
+ if : ${{ matrix.platform == 'linux-x64' }}
68
71
env :
69
72
CARGO_TERM_COLOR : always
70
73
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
74
77
cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
75
78
76
79
- name : Upload to codecov.io
77
- if : ${{ startsWith( matrix.os, 'ubuntu-') }}
80
+ if : ${{ matrix.platform == 'linux-x64' }}
78
81
uses : codecov/codecov-action@v4
79
82
with :
80
83
files : lcov.info
@@ -84,11 +87,11 @@ jobs:
84
87
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
85
88
86
89
- 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' }}
88
91
uses : bencherdev/bencher@main
89
92
90
93
- 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' }}
92
95
env :
93
96
BENCHER_API_TOKEN : ${{ secrets.BENCHER_API_TOKEN }}
94
97
BENCHER_PROJECT : theseus-rs-postgresql-embedded
0 commit comments