mirror of https://github.com/aminya/setup-cpp
fix: use gcc 11 instead of 11.2.0
brew fails with 11.2.0 Update gcc.test.ts
This commit is contained in:
parent
6ef4a34ada
commit
7492e96c57
|
@ -7,7 +7,7 @@ const DefaultVersions: Record<string, string> = {
|
|||
conan: "1.40.1",
|
||||
meson: "0.59.1",
|
||||
python: "3.x",
|
||||
gcc: "11.2.0",
|
||||
gcc: "11",
|
||||
}
|
||||
|
||||
/** Get the default version if passed true or undefined, otherwise return the version itself */
|
||||
|
|
|
@ -4,7 +4,7 @@ import { setupGcc } from "../gcc"
|
|||
jest.setTimeout(200000)
|
||||
describe("setup-gcc", () => {
|
||||
it("should setup gcc", async () => {
|
||||
const installInfo = await setupGcc("11.2.0", "", "")
|
||||
const installInfo = await setupGcc("11", "", "")
|
||||
|
||||
await testBin("g++", ["--version"], installInfo?.binDir)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue