From 4d623f1710a24804caa7ca64a5fc6718a8cb32a5 Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Tue, 26 Jul 2022 15:49:21 +0200
Subject: [PATCH] ci: test packaging on windows

---
 .github/workflows/windows-conda.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/.github/workflows/windows-conda.yml b/.github/workflows/windows-conda.yml
index 2b914a49..cbedf90f 100644
--- a/.github/workflows/windows-conda.yml
+++ b/.github/workflows/windows-conda.yml
@@ -64,3 +64,21 @@ jobs:
         cd ..
         python -c "import eigenpy"
         if errorlevel 1 exit 1
+
+        :: Test packaging
+        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
+        if errorlevel 1 exit 1
-- 
GitLab