Skip to content

Commit

Permalink
fix(CI): Provide CLANG_PATH to work around multitude of installed clangs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Oct 26, 2024
1 parent 53c5cb7 commit 2b02e0a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# clang-sys and thus bindgen is sensitive to multiple installed versions
# around, see eg. https://github.com/rust-lang/rust-bindgen/issues/2682
#
# CLANG_PATH should be set to the most recent clang installed, no matter
# what /usr/bin/clang is, for some parts of the code will go for the
# newest standard library.
CLANG_PATH: /usr/bin/clang-15

strategy:
fail-fast: false
Expand Down

0 comments on commit 2b02e0a

Please sign in to comment.