mirror of https://github.com/aminya/setup-cpp
fix: warning for fallback to ubuntu max
This commit is contained in:
parent
233a820a34
commit
8a16afc589
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -27,7 +27,7 @@ describe("setup-llvm", () => {
|
||||||
it("Finds valid LLVM URLs", async () => {
|
it("Finds valid LLVM URLs", async () => {
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
[
|
[
|
||||||
"14.0.1",
|
// "14.0.1",
|
||||||
"14.0.0",
|
"14.0.0",
|
||||||
"13.0.0",
|
"13.0.0",
|
||||||
"12.0.0",
|
"12.0.0",
|
||||||
|
|
|
@ -184,6 +184,7 @@ function getLinuxUrl(versionGiven: string): string {
|
||||||
} else {
|
} else {
|
||||||
// default to the maximum version
|
// default to the maximum version
|
||||||
ubuntu = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]
|
ubuntu = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]
|
||||||
|
warning(`Falling back to LLVM version ${ubuntu} for the Ubuntu.`)
|
||||||
}
|
}
|
||||||
|
|
||||||
const prefix = "clang+llvm-"
|
const prefix = "clang+llvm-"
|
||||||
|
|
Loading…
Reference in New Issue