Skip to content

Commit 72ad68b

Browse files
committed
fix(ci): Fix LIBCLANG_PATH escaping in GitHub Actions workflow
1 parent d37f746 commit 72ad68b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
5353
- name: Install system dependencies (macOS)
5454
if: matrix.os == 'macos-latest'
55-
run: brew install cmake
55+
run: brew install cmake llvm
5656

5757
- name: Install Rust toolchain
5858
uses: actions-rust-lang/setup-rust-toolchain@v1
@@ -96,13 +96,13 @@ jobs:
9696
- name: Build Rust bindings
9797
working-directory: bindings/rust
9898
env:
99-
LIBCLANG_PATH: ${{ runner.os == 'Windows' && 'C:\Program Files\LLVM\bin' || '' }}
99+
LIBCLANG_PATH: ${{ runner.os == 'Windows' && 'C:\\Program Files\\LLVM\\bin' || '' }}
100100
run: cargo build --verbose --features static-link
101101

102102
- name: Run tests
103103
working-directory: bindings/rust
104104
env:
105-
LIBCLANG_PATH: ${{ runner.os == 'Windows' && 'C:\Program Files\LLVM\bin' || '' }}
105+
LIBCLANG_PATH: ${{ runner.os == 'Windows' && 'C:\\Program Files\\LLVM\\bin' || '' }}
106106
run: cargo test --verbose --features static-link
107107

108108
# Job 2: Source Build (Distribution Mode)

0 commit comments

Comments
 (0)