fix: fix cmake installation on linux

This commit is contained in:
Amin Yahyaabadi 2021-09-14 05:08:02 -05:00
parent 1239cfc4a6
commit a3c53e221f
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import { setupCmake } from "../cmake"
import { spawnSync as spawn } from "child_process"
import { setupTmpDir, cleanupTmpDir } from "../../utils/tests/test-helpers"
jest.setTimeout(30 * 1000)
jest.setTimeout(100000)
describe("setup-cmake", () => {
beforeEach(async () => {

View File

@ -48,7 +48,7 @@ function getCmakePackageInfo(version: string, platform?: NodeJS.Platform): Packa
const folderName = `cmake-${version}-${osArchStr}`
return {
binRelativeDir: "bin/",
extractedFolderName: ".tar.gz",
extractedFolderName: folderName,
extractFunction: extractTar,
url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,
}

View File

@ -2,7 +2,7 @@ import { setupNinja } from "../ninja"
import { spawnSync as spawn } from "child_process"
import { setupTmpDir, cleanupTmpDir } from "../../utils/tests/test-helpers"
jest.setTimeout(30 * 1000)
jest.setTimeout(100000)
describe("setup-ninja", () => {
beforeEach(async () => {