diff --git a/README.md b/README.md index eaeb72f7..f5fb6071 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Setting up a **cross-platform** environment for building and testing C++/C proje | cache | cppcache | | documentation | doxygen, graphviz | | coverage | gcovr, opencppcoverage, kcov | -| other | python, sevenzip | +| other | python, powershell, sevenzip | `setup-cpp` automatically installs the dependencies above tools if needed for the selected tool (e.g., `python` is required for `conan`). diff --git a/src/gcc/__tests__/gcc.test.ts b/src/gcc/__tests__/gcc.test.ts index 565161fc..79f09c86 100644 --- a/src/gcc/__tests__/gcc.test.ts +++ b/src/gcc/__tests__/gcc.test.ts @@ -4,6 +4,7 @@ import { getVersion } from "../../versions/versions" import { join, addExeExt } from "patha" import execa from "execa" import { chmodSync } from "fs" +import { ubuntuVersion } from "../../utils/env/ubuntu_version" jest.setTimeout(3000000) describe("setup-gcc", () => { @@ -13,7 +14,7 @@ describe("setup-gcc", () => { }) it("should setup gcc", async () => { - const version = getVersion("gcc", undefined) + const version = getVersion("gcc", undefined, await ubuntuVersion()) const installInfo = await setupGcc(version, directory, process.arch) let gpp = "g++"