Skip to content

Commit

Permalink
ci/windows: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarpent committed Jun 24, 2023
1 parent 02339e2 commit 1ef465a
Showing 1 changed file with 29 additions and 34 deletions.
63 changes: 29 additions & 34 deletions .github/workflows/windows-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,48 +49,43 @@ jobs:
:: 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\eigenpy eigenpy --boost-python --ignore-invalid signature --no-setup-py --root-module-suffix ""
if errorlevel 1 exit 1
# if errorlevel 1 exit 1
:: Testing
ctest --output-on-failure -C Release -V
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 eigenpy"
if errorlevel 1 exit 1
# :: Test Python import
# cd ..
# python -c "import eigenpy"
# if errorlevel 1 exit 1
:: Test packaging
# :: Test packaging
cmake -B test-packaging -S unittest/packaging/cmake ^
-G "NMake Makefiles" ^
-DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe
if errorlevel 1 exit 1
# cmake -B test-packaging -S unittest/packaging/cmake ^
# -G "NMake Makefiles" ^
# -DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe
# if errorlevel 1 exit 1
:: Configure hpp-fcl
conda install -c conda-forge octomap assimp qhull
git clone --recursive https://github.com/humanoid-path-planner/hpp-fcl.git
pushd hpp-fcl
mkdir build
pushd build
cmake ^
-G "NMake Makefiles" ^
-DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
-DCMAKE_BUILD_TYPE=Release ^
-DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe ^
..
cd ..
if errorlevel 1 exit 1
# :: Configure hpp-fcl
# conda install -c conda-forge octomap assimp qhull
# git clone --recursive https://github.com/humanoid-path-planner/hpp-fcl.git
# pushd hpp-fcl
# mkdir build
# pushd build
# cmake ^
# -G "NMake Makefiles" ^
# -DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
# -DCMAKE_BUILD_TYPE=Release ^
# -DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe ^
# ..
# cd ..
# if errorlevel 1 exit 1
:: Uninstall
cmake --build . --config Release --target uninstall
# :: Uninstall
# cmake --build . --config Release --target uninstall
# if errorlevel 1 exit 1
- name: Start SSH session
Expand Down

0 comments on commit 1ef465a

Please sign in to comment.