Skip to content

Commit

Permalink
fix: use gcc 11 instead of 11.2.0
Browse files Browse the repository at this point in the history
brew fails with 11.2.0

Update gcc.test.ts
  • Loading branch information
aminya committed Sep 16, 2021
1 parent 6ef4a34 commit 7492e96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/default_versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion src/gcc/__tests__/gcc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down

0 comments on commit 7492e96

Please sign in to comment.