Skip to content

fix: update default LLVM to v20 + GCC 15 #387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/legacy/assets/actions_python-CuNJhsEe.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/github_brechtsanders_winlibs_mingw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/github_llvm_llvm-project.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/versions.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"ninja":"1.12.1","cmake":"3.31.4","task":"3.40.1","powershell":"7.4.5","pip":">=22.2.0","python":">=3.7.9","vcpkg":{"linux":{"alpine":{"else":{"arm64":"d172727ef04337ef0021640302a9a3a91ad17414","else":""}},"else":""},"else":""},"meson":{"linux":{"ubuntu":{"20":"1.6.1","18":"0.61.4","else":"0.61.4"},"else":"1.6.1"},"else":"1.6.1"},"kcov":{"linux":{"ubuntu":{"22":"42-binary","20":"40-binary","14":"40","else":"42"},"else":"42"},"else":"42"},"doxygen":{"linux":{"archlinux":"1.13.2-1","ubuntu":{"22":"1.13.2","18":"1.10.0","else":"1.10.0"},"else":"1.13.2"},"else":"1.13.2"},"gcc":{"win32":"14.2.0posix-18.1.8-12.0.0-ucrt-r1","else":""},"mingw":{"win32":"14.2.0posix-18.1.8-12.0.0-ucrt-r1","else":""},"gcovr":{"linux":{"ubuntu":{"20":"","18":"5.0","else":"5.0"},"else":""},"else":""},"nala":{"linux":{"ubuntu":{"22":"","21":"legacy","else":"legacy"},"else":""},"else":""},"llvm":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"18.1.8"}}},"else":"19.1.6"},"clang":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"18.1.8"}}},"else":"19.1.6"},"clang++":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"18.1.8"}}},"else":"19.1.6"},"clang-tidy":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"18.1.8"}}},"else":"19.1.6"},"clangtidy":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"18.1.8"}}},"else":"19.1.6"},"clang-format":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"18.1.8"}}},"else":"19.1.6"},"clangformat":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"18.1.8"}}},"else":"19.1.6"}}
{"ninja":"1.12.1","cmake":"3.31.4","task":"3.40.1","powershell":"7.4.5","pip":">=22.2.0","python":">=3.7.9","meson":{"linux":{"ubuntu":{"20":"1.6.1","18":"0.61.4","else":"0.61.4"},"else":"1.6.1"},"else":"1.6.1"},"kcov":{"linux":{"ubuntu":{"22":"42-binary","20":"40-binary","14":"40","else":"42"},"else":"42"},"else":"42"},"doxygen":{"linux":{"archlinux":"1.13.2-1","ubuntu":{"22":"1.13.2","18":"1.10.0","else":"1.10.0"},"else":"1.13.2"},"else":"1.13.2"},"gcc":{"win32":"15.1.0posix-12.0.0-ucrt-r1","else":""},"mingw":{"win32":"15.1.0posix-12.0.0-ucrt-r1","else":""},"gcovr":{"linux":{"ubuntu":{"20":"","18":"5.0","else":"5.0"},"else":""},"else":""},"nala":{"linux":{"ubuntu":{"22":"","21":"legacy","else":"legacy"},"else":""},"else":""},"llvm":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"20.1.4"}}},"linux":{"alpine":{"else":{"else":"19.1.7"}},"else":"20.1.6"},"else":"20.1.6"},"clang":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"20.1.4"}}},"linux":{"alpine":{"else":{"else":"19.1.7"}},"else":"20.1.6"},"else":"20.1.6"},"clang++":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"20.1.4"}}},"linux":{"alpine":{"else":{"else":"19.1.7"}},"else":"20.1.6"},"else":"20.1.6"},"clang-tidy":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"20.1.4"}}},"linux":{"alpine":{"else":{"else":"19.1.7"}},"else":"20.1.6"},"else":"20.1.6"},"clangtidy":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"20.1.4"}}},"linux":{"alpine":{"else":{"else":"19.1.7"}},"else":"20.1.6"},"else":"20.1.6"},"clang-format":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"20.1.4"}}},"linux":{"alpine":{"else":{"else":"19.1.7"}},"else":"20.1.6"},"else":"20.1.6"},"clangformat":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"20.1.4"}}},"linux":{"alpine":{"else":{"else":"19.1.7"}},"else":"20.1.6"},"else":"20.1.6"}}
2 changes: 1 addition & 1 deletion dist/modern/assets/actions_python-4hsZpmjR.mjs.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/github_brechtsanders_winlibs_mingw.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/github_llvm_llvm-project.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.mjs.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/versions.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"ninja":"1.12.1","cmake":"3.31.4","task":"3.40.1","powershell":"7.4.5","pip":">=22.2.0","python":">=3.7.9","vcpkg":{"linux":{"alpine":{"else":{"arm64":"d172727ef04337ef0021640302a9a3a91ad17414","else":""}},"else":""},"else":""},"meson":{"linux":{"ubuntu":{"20":"1.6.1","18":"0.61.4","else":"0.61.4"},"else":"1.6.1"},"else":"1.6.1"},"kcov":{"linux":{"ubuntu":{"22":"42-binary","20":"40-binary","14":"40","else":"42"},"else":"42"},"else":"42"},"doxygen":{"linux":{"archlinux":"1.13.2-1","ubuntu":{"22":"1.13.2","18":"1.10.0","else":"1.10.0"},"else":"1.13.2"},"else":"1.13.2"},"gcc":{"win32":"14.2.0posix-18.1.8-12.0.0-ucrt-r1","else":""},"mingw":{"win32":"14.2.0posix-18.1.8-12.0.0-ucrt-r1","else":""},"gcovr":{"linux":{"ubuntu":{"20":"","18":"5.0","else":"5.0"},"else":""},"else":""},"nala":{"linux":{"ubuntu":{"22":"","21":"legacy","else":"legacy"},"else":""},"else":""},"llvm":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"18.1.8"}}},"else":"19.1.6"},"clang":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"18.1.8"}}},"else":"19.1.6"},"clang++":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"18.1.8"}}},"else":"19.1.6"},"clang-tidy":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"18.1.8"}}},"else":"19.1.6"},"clangtidy":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"18.1.8"}}},"else":"19.1.6"},"clang-format":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"18.1.8"}}},"else":"19.1.6"},"clangformat":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"18.1.8"}}},"else":"19.1.6"}}
{"ninja":"1.12.1","cmake":"3.31.4","task":"3.40.1","powershell":"7.4.5","pip":">=22.2.0","python":">=3.7.9","meson":{"linux":{"ubuntu":{"20":"1.6.1","18":"0.61.4","else":"0.61.4"},"else":"1.6.1"},"else":"1.6.1"},"kcov":{"linux":{"ubuntu":{"22":"42-binary","20":"40-binary","14":"40","else":"42"},"else":"42"},"else":"42"},"doxygen":{"linux":{"archlinux":"1.13.2-1","ubuntu":{"22":"1.13.2","18":"1.10.0","else":"1.10.0"},"else":"1.13.2"},"else":"1.13.2"},"gcc":{"win32":"15.1.0posix-12.0.0-ucrt-r1","else":""},"mingw":{"win32":"15.1.0posix-12.0.0-ucrt-r1","else":""},"gcovr":{"linux":{"ubuntu":{"20":"","18":"5.0","else":"5.0"},"else":""},"else":""},"nala":{"linux":{"ubuntu":{"22":"","21":"legacy","else":"legacy"},"else":""},"else":""},"llvm":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"20.1.4"}}},"linux":{"alpine":{"else":{"else":"19.1.7"}},"else":"20.1.6"},"else":"20.1.6"},"clang":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"20.1.4"}}},"linux":{"alpine":{"else":{"else":"19.1.7"}},"else":"20.1.6"},"else":"20.1.6"},"clang++":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"20.1.4"}}},"linux":{"alpine":{"else":{"else":"19.1.7"}},"else":"20.1.6"},"else":"20.1.6"},"clang-tidy":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"20.1.4"}}},"linux":{"alpine":{"else":{"else":"19.1.7"}},"else":"20.1.6"},"else":"20.1.6"},"clangtidy":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"20.1.4"}}},"linux":{"alpine":{"else":{"else":"19.1.7"}},"else":"20.1.6"},"else":"20.1.6"},"clang-format":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"20.1.4"}}},"linux":{"alpine":{"else":{"else":"19.1.7"}},"else":"20.1.6"},"else":"20.1.6"},"clangformat":{"darwin":{"else":{"else":{"x64":"15.0.7","else":"20.1.4"}}},"linux":{"alpine":{"else":{"else":"19.1.7"}},"else":"20.1.6"},"else":"20.1.6"}}
4 changes: 2 additions & 2 deletions src/gcc/__tests__/gcc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ describe("setup-gcc", () => {
}
} else if (process.platform === "darwin") {
// https://formulae.brew.sh/formula/gcc
// As of 3, Sep, 2024
gpp = "g++-14"
// As of 3, Jun, 2025
gpp = "g++-15"
}

await testBin(gpp, ["--version"], installInfo?.binDir)
Expand Down
20 changes: 20 additions & 0 deletions src/gcc/github_brechtsanders_winlibs_mingw.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
{
"15.1.0posix-12.0.0-ucrt-r1": [
"winlibs-x86_64-posix-seh-gcc-15.1.0-mingw-w64ucrt-12.0.0-r1.7z",
"winlibs-i686-posix-dwarf-gcc-15.1.0-mingw-w64ucrt-12.0.0-r1.7z"
],
"15.1.0posix-12.0.0-msvcrt-r1": [
"winlibs-x86_64-posix-seh-gcc-15.1.0-mingw-w64msvcrt-12.0.0-r1.7z",
"winlibs-i686-posix-dwarf-gcc-15.1.0-mingw-w64msvcrt-12.0.0-r1.7z"
],
"15.1.0mcf-12.0.0-ucrt-r1": [
"winlibs-x86_64-mcf-seh-gcc-15.1.0-mingw-w64ucrt-12.0.0-r1.7z",
"winlibs-i686-mcf-dwarf-gcc-15.1.0-mingw-w64ucrt-12.0.0-r1.7z"
],
"14.3.0posix-12.0.0-ucrt-r1": [
"winlibs-x86_64-posix-seh-gcc-14.3.0-mingw-w64ucrt-12.0.0-r1.7z",
"winlibs-i686-posix-dwarf-gcc-14.3.0-mingw-w64ucrt-12.0.0-r1.7z"
],
"14.3.0posix-12.0.0-msvcrt-r1": [
"winlibs-x86_64-posix-seh-gcc-14.3.0-mingw-w64msvcrt-12.0.0-r1.7z",
"winlibs-i686-posix-dwarf-gcc-14.3.0-mingw-w64msvcrt-12.0.0-r1.7z"
],
"14.2.0win32-12.0.0-msvcrt-r1": [
"winlibs-x86_64-win32-seh-gcc-14.2.0-mingw-w64msvcrt-12.0.0-r1.7z",
"winlibs-x86_64-win32-seh-gcc-14.2.0-llvm-19.1.3-mingw-w64msvcrt-12.0.0-r1.7z"
Expand Down
1 change: 1 addition & 0 deletions src/llvm/__tests__/llvm.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ describe("setup-llvm", () => {
it("Finds valid LLVM URLs", async () => {
await Promise.all(
[
"20",
"19",
"18",
"17",
Expand Down
62 changes: 62 additions & 0 deletions src/llvm/github_llvm_llvm-project.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,66 @@
{
"llvmorg-20.1.6": [
"clang+llvm-20.1.6-x86_64-pc-windows-msvc.tar.xz",
"LLVM-20.1.6-win64.exe",
"LLVM-20.1.6-win32.exe",
"LLVM-20.1.6-Linux-X64.tar.xz",
"LLVM-20.1.6-Linux-ARM64.tar.xz"
],
"llvmorg-20.1.5": [
"clang+llvm-20.1.5-x86_64-pc-windows-msvc.tar.xz",
"clang+llvm-20.1.5-armv7a-linux-gnueabihf.tar.gz",
"clang+llvm-20.1.5-aarch64-pc-windows-msvc.tar.xz",
"LLVM-20.1.5-woa64.exe",
"LLVM-20.1.5-win64.exe",
"LLVM-20.1.5-win32.exe",
"LLVM-20.1.5-Linux-X64.tar.xz",
"LLVM-20.1.5-Linux-ARM64.tar.xz"
],
"llvmorg-20.1.4": [
"clang+llvm-20.1.4-x86_64-pc-windows-msvc.tar.xz",
"clang+llvm-20.1.4-armv7a-linux-gnueabihf.tar.gz",
"clang+llvm-20.1.4-aarch64-pc-windows-msvc.tar.xz",
"LLVM-20.1.4-woa64.exe",
"LLVM-20.1.4-win64.exe",
"LLVM-20.1.4-win32.exe",
"LLVM-20.1.4-macOS-ARM64.tar.xz",
"LLVM-20.1.4-Linux-X64.tar.xz",
"LLVM-20.1.4-Linux-ARM64.tar.xz"
],
"llvmorg-20.1.3": [
"clang+llvm-20.1.3-x86_64-pc-windows-msvc.tar.xz",
"clang+llvm-20.1.3-armv7a-linux-gnueabihf.tar.gz",
"clang+llvm-20.1.3-aarch64-pc-windows-msvc.tar.xz",
"LLVM-20.1.3-woa64.exe",
"LLVM-20.1.3-win64.exe",
"LLVM-20.1.3-win32.exe",
"LLVM-20.1.3-macOS-X64.tar.xz",
"LLVM-20.1.3-macOS-ARM64.tar.xz",
"LLVM-20.1.3-Linux-X64.tar.xz",
"LLVM-20.1.3-Linux-ARM64.tar.xz"
],
"llvmorg-20.1.2": [
"clang+llvm-20.1.2-x86_64-pc-windows-msvc.tar.xz",
"clang+llvm-20.1.2-armv7a-linux-gnueabihf.tar.gz",
"clang+llvm-20.1.2-aarch64-pc-windows-msvc.tar.xz",
"LLVM-20.1.2-woa64.exe",
"LLVM-20.1.2-win64.exe",
"LLVM-20.1.2-win32.exe",
"LLVM-20.1.2-macOS-ARM64.tar.xz",
"LLVM-20.1.2-Linux-X64.tar.xz",
"LLVM-20.1.2-Linux-ARM64.tar.xz"
],
"llvmorg-20.1.1": [
"clang+llvm-20.1.1-x86_64-pc-windows-msvc.tar.xz",
"clang+llvm-20.1.1-armv7a-linux-gnueabihf.tar.gz",
"clang+llvm-20.1.1-aarch64-pc-windows-msvc.tar.xz",
"LLVM-20.1.1-woa64.exe",
"LLVM-20.1.1-win64.exe",
"LLVM-20.1.1-win32.exe",
"LLVM-20.1.1-macOS-ARM64.tar.xz",
"LLVM-20.1.1-Linux-X64.tar.xz",
"LLVM-20.1.1-Linux-ARM64.tar.xz"
],
"llvmorg-20.1.0": [
"clang+llvm-20.1.0-x86_64-pc-windows-msvc.tar.xz",
"clang+llvm-20.1.0-armv7a-linux-gnueabihf.tar.gz",
Expand Down
100 changes: 72 additions & 28 deletions src/versions/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,6 @@
"powershell": "7.4.5",
"pip": ">=22.2.0",
"python": ">=3.7.9",
"vcpkg": {
"linux": {
"alpine": {
"else": {
"arm64": "d172727ef04337ef0021640302a9a3a91ad17414",
"else": ""
}
},
"else": ""
},
"else": ""
},
"meson": {
"linux": {
"ubuntu": {
Expand Down Expand Up @@ -53,11 +41,11 @@
"else": "1.13.2"
},
"gcc": {
"win32": "14.2.0posix-18.1.8-12.0.0-ucrt-r1",
"win32": "15.1.0posix-12.0.0-ucrt-r1",
"else": ""
},
"mingw": {
"win32": "14.2.0posix-18.1.8-12.0.0-ucrt-r1",
"win32": "15.1.0posix-12.0.0-ucrt-r1",
"else": ""
},
"gcovr": {
Expand Down Expand Up @@ -87,76 +75,132 @@
"else": {
"else": {
"x64": "15.0.7",
"else": "18.1.8"
"else": "20.1.4"
}
}
},
"else": "19.1.6"
"linux": {
"alpine": {
"else": {
"else": "19.1.7"
}
},
"else": "20.1.6"
},
"else": "20.1.6"
},
"clang": {
"darwin": {
"else": {
"else": {
"x64": "15.0.7",
"else": "18.1.8"
"else": "20.1.4"
}
}
},
"else": "19.1.6"
"linux": {
"alpine": {
"else": {
"else": "19.1.7"
}
},
"else": "20.1.6"
},
"else": "20.1.6"
},
"clang++": {
"darwin": {
"else": {
"else": {
"x64": "15.0.7",
"else": "18.1.8"
"else": "20.1.4"
}
}
},
"else": "19.1.6"
"linux": {
"alpine": {
"else": {
"else": "19.1.7"
}
},
"else": "20.1.6"
},
"else": "20.1.6"
},
"clang-tidy": {
"darwin": {
"else": {
"else": {
"x64": "15.0.7",
"else": "18.1.8"
"else": "20.1.4"
}
}
},
"else": "19.1.6"
"linux": {
"alpine": {
"else": {
"else": "19.1.7"
}
},
"else": "20.1.6"
},
"else": "20.1.6"
},
"clangtidy": {
"darwin": {
"else": {
"else": {
"x64": "15.0.7",
"else": "18.1.8"
"else": "20.1.4"
}
}
},
"else": "19.1.6"
"linux": {
"alpine": {
"else": {
"else": "19.1.7"
}
},
"else": "20.1.6"
},
"else": "20.1.6"
},
"clang-format": {
"darwin": {
"else": {
"else": {
"x64": "15.0.7",
"else": "18.1.8"
"else": "20.1.4"
}
}
},
"else": "19.1.6"
"linux": {
"alpine": {
"else": {
"else": "19.1.7"
}
},
"else": "20.1.6"
},
"else": "20.1.6"
},
"clangformat": {
"darwin": {
"else": {
"else": {
"x64": "15.0.7",
"else": "18.1.8"
"else": "20.1.4"
}
}
},
"else": "19.1.6"
"linux": {
"alpine": {
"else": {
"else": "19.1.7"
}
},
"else": "20.1.6"
},
"else": "20.1.6"
}
}
Loading