Fixed: Linting errors, osx build errors, added tests
@@ -25,6 +25,26 @@ requirements:
- {{ compiler('cxx') }}
- cmake >=3.5
- make
+ - llvm-openmp # [osx]
+
+test:
+ commands:
+ # Verify headers are present
+ - test -f $PREFIX/include/networkit/Globals.hpp # [unix]
+
+ # Verify pkg-config file is present
+ - test -f $PREFIX/lib/pkgconfig/networkit.pc # [unix]
+
+ # Verify static library is present
+ - test -f $PREFIX/lib/libtlx.a # [unix]
+
+ # Verify shared library is present
+ - test -f $PREFIX/lib/libnetworkit.so # [unix]
+ - test -f $PREFIX/lib/libnetworkit.dylib # [osx]
+
+ # conda tools
+ - conda inspect linkages -p $PREFIX $PKG_NAME # [not win]
+ - conda inspect objects -p $PREFIX $PKG_NAME # [osx]
about:
home: https://github.com/networkit/networkit
