mirror of https://github.com/aminya/setup-cpp
Merge pull request #47 from aminya/llvm-14
This commit is contained in:
commit
a6b9321415
|
@ -17,7 +17,6 @@ jobs:
|
||||||
os:
|
os:
|
||||||
- windows-2022
|
- windows-2022
|
||||||
- windows-2019
|
- windows-2019
|
||||||
- windows-2016
|
|
||||||
- ubuntu-20.04
|
- ubuntu-20.04
|
||||||
- ubuntu-18.04
|
- ubuntu-18.04
|
||||||
- macos-11
|
- macos-11
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -26,6 +26,7 @@ describe("setup-llvm", () => {
|
||||||
it("Finds valid LLVM URLs", async () => {
|
it("Finds valid LLVM URLs", async () => {
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
[
|
[
|
||||||
|
"14.0.0",
|
||||||
"13.0.0",
|
"13.0.0",
|
||||||
"12.0.0",
|
"12.0.0",
|
||||||
"12",
|
"12",
|
||||||
|
|
|
@ -56,6 +56,8 @@ export const VERSIONS: Set<string> = getVersions([
|
||||||
"12.0.0",
|
"12.0.0",
|
||||||
"12.0.1",
|
"12.0.1",
|
||||||
"13.0.0",
|
"13.0.0",
|
||||||
|
"13.0.1",
|
||||||
|
"14.0.0",
|
||||||
])
|
])
|
||||||
|
|
||||||
//================================================
|
//================================================
|
||||||
|
@ -148,10 +150,12 @@ const UBUNTU: { [key: string]: string } = {
|
||||||
"12.0.0": "-ubuntu-20.04",
|
"12.0.0": "-ubuntu-20.04",
|
||||||
"12.0.1": "-ubuntu-16.04",
|
"12.0.1": "-ubuntu-16.04",
|
||||||
"13.0.0": "-ubuntu-20.04",
|
"13.0.0": "-ubuntu-20.04",
|
||||||
|
"13.0.1": "-ubuntu-18.04",
|
||||||
|
"14.0.0": "-ubuntu-18.04",
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The latest supported LLVM version for the Linux (Ubuntu) platform. */
|
/** The latest supported LLVM version for the Linux (Ubuntu) platform. */
|
||||||
const MAX_UBUNTU: string = "13.0.0"
|
const MAX_UBUNTU: string = "14.0.0"
|
||||||
|
|
||||||
/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */
|
/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */
|
||||||
function getLinuxUrl(versionGiven: string): string {
|
function getLinuxUrl(versionGiven: string): string {
|
||||||
|
|
Loading…
Reference in New Issue