Merge pull request #19 from aminya/windows-cxx [skip ci]

This commit is contained in:
Amin Yahyaabadi 2022-01-29 14:31:28 -08:00 committed by GitHub
commit 9a66da2237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -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()
})
})

View File

@ -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 () => {