diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 8d95f15deb6..d4f1eeb1201 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -30,8 +30,9 @@ jobs: - name: Prepare run: | sudo apt update - sudo apt install -y ruby ruby-dev rubygems build-essential llvm + 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: | diff --git a/.github/workflows/linux_luajit.yml b/.github/workflows/linux_luajit.yml index 946e6f2a5ee..acec3fbce00 100644 --- a/.github/workflows/linux_luajit.yml +++ b/.github/workflows/linux_luajit.yml @@ -33,7 +33,7 @@ jobs: - name: Prepare run: | sudo apt update - sudo apt install -y build-essential llvm + sudo apt install -y build-essential llvm libc++-dev sudo apt install -y libgl1-mesa-dev libglu1-mesa-dev - name: Tests diff --git a/tests/projects/c++/modules/test_headerunits.lua b/tests/projects/c++/modules/test_headerunits.lua index 70e8b3d51bd..b13b22a7f6a 100644 --- a/tests/projects/c++/modules/test_headerunits.lua +++ b/tests/projects/c++/modules/test_headerunits.lua @@ -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, "19.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")