diff --git a/.github/workflows/windows-conda-clang.yml b/.github/workflows/windows-conda-clang.yml index 65fd3fa38f8f11d61c51a8a95eb2ba53c8977764..8f62d14415c9b7d43dad7cd4645ae35bb60ff86a 100644 --- a/.github/workflows/windows-conda-clang.yml +++ b/.github/workflows/windows-conda-clang.yml @@ -58,17 +58,22 @@ jobs: -DHPP_FCL_HAS_QHULL=ON ^ -DBUILD_PYTHON_INTERFACE=ON ^ .. + if errorlevel 1 exit 1 :: Build and Install cmake --build . --config Release --target install + if errorlevel 1 exit 1 :: Build stubs git clone https://github.com/jcarpent/pybind11-stubgen.git python "%CD%\pybind11-stubgen\pybind11_stubgen\__init__.py" -o %CONDA_PREFIX%\Lib\site-packages hppfcl --boost-python --ignore-invalid signature --no-setup-py --root-module-suffix "" + if errorlevel 1 exit 1 :: Testing ctest --output-on-failure -C Release -V + if errorlevel 1 exit 1 :: Test Python import cd .. python -c "import hppfcl" + if errorlevel 1 exit 1 diff --git a/.github/workflows/windows-conda-v142.yml b/.github/workflows/windows-conda-v142.yml index f69f309fef53746bc4068ef4a592fe10e6c16dff..dabd125bfa4d1e3393e2b4ed34e3e32a16d3774c 100644 --- a/.github/workflows/windows-conda-v142.yml +++ b/.github/workflows/windows-conda-v142.yml @@ -57,18 +57,22 @@ jobs: -DHPP_FCL_HAS_QHULL=ON ^ -DBUILD_PYTHON_INTERFACE=ON ^ .. + if errorlevel 1 exit 1 :: Build and Install cmake --build . --config Release --target install - + if errorlevel 1 exit 1 :: Build stubs git clone https://github.com/jcarpent/pybind11-stubgen.git python "%CD%\pybind11-stubgen\pybind11_stubgen\__init__.py" -o %CONDA_PREFIX%\Lib\site-packages hppfcl --boost-python --ignore-invalid signature --no-setup-py --root-module-suffix "" + if errorlevel 1 exit 1 :: Testing ctest --output-on-failure -C Release -V + if errorlevel 1 exit 1 :: Test Python import cd .. python -c "import hppfcl" + if errorlevel 1 exit 1