# fail on any compiler warnings
- export CFLAGS=-Werror
- export CXXFLAGS=-Werror
+ - export CMAKE_OPTIONS="-Dwith_smyrna=ON"
tags:
- linux
variables:
- export CFLAGS=-Werror
- export CXXFLAGS=-Werror
- export CMAKE_OPTIONS="-Dwith_cxx_tests=ON -Dwith_cxx_api=ON"
+ - export CMAKE_OPTIONS="$CMAKE_OPTIONS -Dwith_smyrna=ON"
tags:
- linux
variables:
- export CFLAGS=-Werror
- export CXXFLAGS=-Werror
- export CMAKE_OPTIONS="-Dwith_cxx_tests=ON -Dwith_cxx_api=ON"
+ - export CMAKE_OPTIONS="$CMAKE_OPTIONS -Dwith_smyrna=ON"
tags:
- linux
variables:
- export CFLAGS=-Werror
- export CXXFLAGS=-Werror
- export CMAKE_OPTIONS="-Duse_sanitizers=ON -Duse_coverage=ON -Dwith_cxx_tests=ON -Dwith_cxx_api=ON"
+ - export CMAKE_OPTIONS="$CMAKE_OPTIONS -Dwith_smyrna=ON"
# override the deb_build_definition artifacts since we need more
# files from the build directory when running ctest in the test
# stage.
- export CFLAGS=-Werror
- export CXXFLAGS=-Werror
- export CMAKE_OPTIONS="-Duse_sanitizers=ON -Duse_coverage=ON -Dwith_cxx_tests=ON -Dwith_cxx_api=ON"
+ - export CMAKE_OPTIONS="$CMAKE_OPTIONS -Dwith_smyrna=ON"
# override the deb_build_definition artifacts since we need more
# files from the build directory when running ctest in the test
# stage.
"gxl2dot",
"lneato",
"prune",
- "smyrna",
"vimdot",
]
check_that_tool_does_not_exist(binary, os_id)
pytest.skip(f"{binary} is not built on 64-bit Windows due to lacking libgd")
+ # FIXME: Smyrna dependencies are not avaiable in other jobs
+ if binary == "smyrna" and is_cmake() and platform.system() != "Linux":
+ check_that_tool_does_not_exist(binary, os_id)
+ pytest.skip("smyrna is not built on non-Linux due to lacking dependencies")
+
assert shutil.which(binary) is not None
def check_that_tool_does_not_exist(tool, os_id):