mirror of https://github.com/aminya/setup-cpp
Merge pull request #19 from aminya/windows-cxx [skip ci]
This commit is contained in:
commit
9a66da2237
|
@ -13,5 +13,8 @@ describe("setup-gcc", () => {
|
|||
gpp = `g++-${version}`
|
||||
}
|
||||
await testBin(gpp, ["--version"], installInfo?.binDir)
|
||||
|
||||
expect(process.env.CC?.includes("gcc")).toBeTruthy()
|
||||
expect(process.env.CXX?.includes("g++")).toBeTruthy()
|
||||
})
|
||||
})
|
||||
|
|
|
@ -44,6 +44,9 @@ describe("setup-llvm", () => {
|
|||
it("should setup LLVM", async () => {
|
||||
const { binDir } = await setupLLVM("11.0.0", directory, "")
|
||||
await testBin("clang++", ["--version"], binDir)
|
||||
|
||||
expect(process.env.CC?.includes("clang")).toBeTruthy()
|
||||
expect(process.env.CXX?.includes("clang++")).toBeTruthy()
|
||||
})
|
||||
|
||||
afterAll(async () => {
|
||||
|
|
Loading…
Reference in New Issue