+ xo-unit
This commit is contained in:
parent
d1fa15f248
commit
cb2ce5a5b8
5 changed files with 35 additions and 4 deletions
3
.github/workflows/main-stock-ubuntu.yml
vendored
3
.github/workflows/main-stock-ubuntu.yml
vendored
|
|
@ -96,6 +96,9 @@ jobs:
|
|||
echo "::group::xo-ratio build"
|
||||
cmake --build .build -- xo-ratio
|
||||
|
||||
echo "::group::xo-unit build"
|
||||
cmake --build .build -- xo-unit
|
||||
|
||||
echo "::group::xo build (catch all)"
|
||||
cmake --build .build #--verbose
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ add_subdirectory(xo-reflectutil)
|
|||
add_subdirectory(xo-reflect)
|
||||
add_subdirectory(xo-pyreflect)
|
||||
add_subdirectory(xo-ratio)
|
||||
#add_subdirectory(xo-unit)
|
||||
add_subdirectory(xo-unit)
|
||||
#add_subdirectory(xo-pyunit)
|
||||
#add_subdirectory(xo-expression)
|
||||
#add_subdirectory(xo-pyexpression)
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ let
|
|||
xo-reflect = self.callPackage pkgs/xo-reflect.nix {};
|
||||
xo-pyreflect = self.callPackage pkgs/xo-pyreflect.nix {};
|
||||
xo-ratio = self.callPackage pkgs/xo-ratio.nix {};
|
||||
# xo-unit = self.callPackage pkgs/xo-unit.nix {};
|
||||
xo-unit = self.callPackage pkgs/xo-unit.nix {};
|
||||
# xo-pyunit = self.callPackage pkgs/xo-pyunit.nix {};
|
||||
# xo-expression = self.callPackage pkgs/xo-expression.nix {};
|
||||
# xo-pyexpression = self.callPackage pkgs/xo-pyexpression.nix {};
|
||||
|
|
|
|||
28
pkgs/xo-unit.nix
Normal file
28
pkgs/xo-unit.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
# dependencies
|
||||
stdenv, cmake, catch2, doxygen,
|
||||
|
||||
python3Packages,
|
||||
sphinx,
|
||||
|
||||
xo-cmake, xo-ratio, xo-flatstring,
|
||||
} :
|
||||
|
||||
stdenv.mkDerivation (finalattrs:
|
||||
{
|
||||
name = "xo-unit";
|
||||
version = "1.0";
|
||||
|
||||
src = ../xo-unit;
|
||||
|
||||
cmakeFlags = ["-DCMAKE_MODULE_PATH=${xo-cmake}/share/cmake"];
|
||||
doCheck = true;
|
||||
propagatedBuildInputs = [ xo-ratio xo-flatstring ];
|
||||
nativeBuildInputs = [ cmake
|
||||
catch2
|
||||
doxygen
|
||||
sphinx
|
||||
xo-cmake
|
||||
#python3Packages.sphinx-rtd-theme
|
||||
];
|
||||
})
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
xo-reflect,
|
||||
xo-pyreflect,
|
||||
xo-ratio,
|
||||
# xo-unit,
|
||||
xo-unit,
|
||||
# xo-pyunit,
|
||||
# xo-printjson,
|
||||
# xo-pyprintjson,
|
||||
|
|
@ -69,7 +69,7 @@ buildEnv {
|
|||
xo-reflect
|
||||
xo-pyreflect
|
||||
xo-ratio
|
||||
# xo-unit
|
||||
xo-unit
|
||||
# xo-pyunit
|
||||
# xo-expression
|
||||
# xo-pyexpression
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue