Skip to content

Commit a59f9d3

Browse files
authored
Merge pull request #298 from nim65s/devel
ci: test packaging
2 parents 9f4a414 + 2686f5d commit a59f9d3

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

.github/workflows/macos-linux-conda.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ jobs:
5353
make test
5454
make install
5555
56+
- name: Test packaging
57+
shell: bash -l {0}
58+
run: |
59+
conda activate eigenpy
60+
61+
cmake -B test-packaging -S unittest/packaging/cmake -DPYTHON_EXECUTABLE=$(which python3)
62+
5663
- name: Configure hpp-fcl
5764
shell: bash -l {0}
5865
run: |

.github/workflows/windows-conda.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ jobs:
6666
if errorlevel 1 exit 1
6767
6868
:: Test packaging
69+
70+
cmake -B test-packaging -S unittest/packaging/cmake ^
71+
-G "NMake Makefiles" ^
72+
-DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe
73+
if errorlevel 1 exit 1
74+
75+
:: Configure hpp-fcl
6976
conda install -c conda-forge octomap assimp qhull
7077
git clone --recursive https://github.com/humanoid-path-planner/hpp-fcl.git
7178
pushd hpp-fcl

cmake

unittest/packaging/cmake/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ cmake_minimum_required(VERSION 2.6)
22

33
project(ExtraLib CXX)
44
find_package(eigenpy REQUIRED)
5-
find_package(PythonInterp REQUIRED)
6-
find_package(PythonLibs REQUIRED)
75

86
add_executable(extra_lib extra_lib.cpp)
9-
target_link_libraries(extra_lib PUBLIC eigenpy::eigenpy ${PYTHON_LIBRARIES})
7+
target_link_libraries(extra_lib PUBLIC eigenpy::eigenpy)

0 commit comments

Comments
 (0)