Skip to content

Commit 5f43abd

Browse files
committed
fix(ci): test codspeed on mac/windows without libclang
1 parent 112f30d commit 5f43abd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,18 @@ jobs:
3535
cache-target: release
3636
env:
3737
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
3839
- run: cargo test -p codspeed
40+
if: runner.os == 'Linux'
41+
42+
# We don't support Windows/MacOS for now, due to libclang not found on some runners:
43+
- run: LIBCLANG_PATH= cargo test -p codspeed
44+
if: runner.os == 'macOS'
45+
- run: |
46+
$env:LIBCLANG_PATH=""
47+
cargo test -p codspeed
48+
if: runner.os == 'Windows'
49+
shell: powershell
3950
4051
msrv-check:
4152
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)