2021-09-16 16:49:25 +08:00
|
|
|
import { addPath } from "@actions/core"
|
|
|
|
import { setupChocoPack } from "../utils/setup/setupChocoPack"
|
|
|
|
|
2021-09-16 19:57:37 +08:00
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
export async function setupOpencppcoverage(version: string | undefined, _setupCppDir: string, _arch: string) {
|
2021-09-16 16:49:25 +08:00
|
|
|
if (process.platform !== "win32") {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
await setupChocoPack("opencppcoverage", version)
|
|
|
|
addPath("C:/Program Files/OpenCppCoverage")
|
|
|
|
}
|