setup-cpp
Version:
Install all the tools required for building and testing C++/C projects.
14 lines (11 loc) • 503 B
text/typescript
import { ubuntuVersion } from "../../utils/env/ubuntu_version.js"
import { testBin } from "../../utils/tests/test-helpers.js"
import { getVersion } from "../../versions/versions.js"
import { setupMeson } from "../meson.js"
jest.setTimeout(300000)
describe("setup-meson", () => {
it("should setup meson", async () => {
const installInfo = await setupMeson(getVersion("meson", "true", await ubuntuVersion()), "", process.arch)
await testBin("meson", ["--version"], installInfo.binDir)
})
})