mirror of https://github.com/aminya/setup-cpp
test: check if dot is installed
This commit is contained in:
parent
1545ce48e2
commit
c96659e9f2
|
@ -133,15 +133,15 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- windows-2019
|
- windows-2022
|
||||||
- ubuntu-20.04
|
- ubuntu-20.04
|
||||||
- macos-10.15
|
- macos-11
|
||||||
compiler:
|
compiler:
|
||||||
- llvm
|
- llvm
|
||||||
- gcc
|
- gcc
|
||||||
# you can specify the version after `-` like `llvm-13.0.0`.
|
# you can specify the version after `-` like `llvm-13.0.0`.
|
||||||
include:
|
include:
|
||||||
- os: "windows-latest"
|
- os: "windows-2022"
|
||||||
compiler: "msvc"
|
compiler: "msvc"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
@ -10,10 +10,11 @@ describe("setup-doxygen", () => {
|
||||||
directory = await setupTmpDir("doxygen")
|
directory = await setupTmpDir("doxygen")
|
||||||
})
|
})
|
||||||
|
|
||||||
it("should setup doxygen", async () => {
|
it("should setup doxygen and dot", async () => {
|
||||||
const installInfo = await setupDoxygen(getVersion("doxygen", undefined), directory, process.arch)
|
const installInfo = await setupDoxygen(getVersion("doxygen", undefined), directory, process.arch)
|
||||||
|
|
||||||
await testBin("doxygen", ["--version"], (installInfo as InstallationInfo | undefined)?.binDir)
|
await testBin("doxygen", ["--version"], (installInfo as InstallationInfo | undefined)?.binDir)
|
||||||
|
await testBin("dot", ["-V"])
|
||||||
})
|
})
|
||||||
|
|
||||||
afterAll(async () => {
|
afterAll(async () => {
|
||||||
|
|
Loading…
Reference in New Issue