mirror of https://github.com/aminya/setup-cpp.git
test: skip infer, sccache, bazel tests on Linux arm
This commit is contained in:
parent
1916446e22
commit
2250f08263
|
|
@ -4,6 +4,12 @@ import { setupBazel } from "../bazel.js"
|
|||
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-bazel", () => {
|
||||
if (process.platform === "linux" && process.arch === "arm64") {
|
||||
it("should skip bazel tests on Linux arm64", () => {
|
||||
expect(true).toBe(true)
|
||||
})
|
||||
return
|
||||
}
|
||||
it("should setup bazel", async () => {
|
||||
const installInfo = await setupBazel("", "", process.arch)
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ import { setupInfer } from "../infer.js"
|
|||
jest.setTimeout(300000)
|
||||
|
||||
describe("setup-infer", () => {
|
||||
if (process.platform === "win32") {
|
||||
it("should skip infer tests on windows", () => {
|
||||
if (process.platform === "win32" || (process.platform === "linux" && process.arch === "arm64")) {
|
||||
it("should skip infer tests on Windows and Linux arm64", () => {
|
||||
expect(true).toBe(true)
|
||||
})
|
||||
return
|
||||
|
|
|
|||
|
|
@ -4,6 +4,13 @@ import { setupSccache } from "../sccache.js"
|
|||
|
||||
jest.setTimeout(300000)
|
||||
describe("setup-sccache", () => {
|
||||
if (process.platform === "linux" && process.arch === "arm64") {
|
||||
it("should skip sccache tests on Linux arm64", () => {
|
||||
expect(true).toBe(true)
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
it("should setup sccache", async () => {
|
||||
const installInfo = await setupSccache("", "", process.arch)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue