Skip to content

Commit

Permalink
show clang version
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jan 13, 2025
1 parent a63b998 commit a0e5f4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
sudo apt update
sudo apt install -y ruby ruby-dev rubygems build-essential llvm libc++-dev
sudo apt install -y libgl1-mesa-dev libglu1-mesa-dev
clang --version
- name: Tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/projects/c++/modules/test_headerunits.lua
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function main(t)
end
local clang = find_tool("clang", {version = true})
if clang and clang.version then
if semver.compare(clang.version, "15.0") >= 0 then
if semver.compare(clang.version, "16.0") >= 0 then
os.exec("xmake clean -a")
-- clang-scan-deps dependency detection doesn't support header units atm
os.exec("xmake f --toolchain=clang --policies=build.c++.clang.fallbackscanner -c --yes")
Expand Down

0 comments on commit a0e5f4d

Please sign in to comment.