Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-fcl
Commits
32014f56
Verified
Commit
32014f56
authored
Sep 05, 2021
by
Justin Carpentier
Browse files
ci: enable GENERATE_PYTHON_STUBS=ON
parent
73aefc17
Pipeline
#15890
passed with stage
in 94 minutes and 22 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/macos-linux-conda.yml
View file @
32014f56
...
...
@@ -4,7 +4,7 @@ on: [push,pull_request]
jobs
:
hpp-fcl-conda
:
name
:
hpp-fcl
on ${{ matrix.os }} with Conda
name
:
CI
on ${{ matrix.os }} with Conda
runs-on
:
${{ matrix.os }}
strategy
:
...
...
@@ -14,10 +14,8 @@ jobs:
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Checkout submodules
run
:
|
git submodule update --init
with
:
submodules
:
recursive
-
uses
:
conda-incubator/setup-miniconda@v2
with
:
...
...
@@ -32,17 +30,17 @@ jobs:
conda activate hpp-fcl
conda install cmake -c main
conda install llvm-openmp -c conda-forge
-
name
:
Build hpp-fcl
shell
:
bash -l {0}
run
:
|
conda activate hpp-fcl
echo $CONDA_PREFIX
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$(which python3)
cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$(which python3)
-DGENERATE_PYTHON_STUBS=ON
make -j2
make build_tests
export CTEST_OUTPUT_ON_FAILURE=1
...
...
.github/workflows/windows-conda-clang.yml
View file @
32014f56
...
...
@@ -16,9 +16,8 @@ jobs:
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Checkout submodules
run
:
|
git submodule update --init
with
:
submodules
:
recursive
-
uses
:
goanpeca/setup-miniconda@v1
env
:
ACTIONS_ALLOW_UNSECURE_COMMANDS
:
'
true'
...
...
@@ -29,7 +28,7 @@ jobs:
-
name
:
Install cmake and update conda
run
:
|
conda install cmake -c main
-
name
:
Build FCL
shell
:
cmd /C CALL {0}
env
:
...
...
@@ -42,7 +41,7 @@ jobs:
set PATH=%PATH:C:\hostedtoolcache\windows\Boost\1.72.0;=%
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64
:: Create build
mkdir build
pushd build
...
...
@@ -53,11 +52,12 @@ jobs:
-G "Visual Studio 16 2019" -T "ClangCl" -DCMAKE_GENERATOR_PLATFORM=x64 ^
-DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
-DCMAKE_BUILD_TYPE=Release ^
-DGENERATE_PYTHON_STUBS=ON ^
-DPYTHON_SITELIB=%CONDA_PREFIX%\Lib\site-packages ^
-DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe ^
-DBUILD_PYTHON_INTERFACE=ON ^
..
:: Build and Install
cmake --build . --config Release --target install
...
...
.github/workflows/windows-conda-v142.yml
View file @
32014f56
...
...
@@ -15,9 +15,8 @@ jobs:
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Checkout submodules
run
:
|
git submodule update --init
with
:
submodules
:
recursive
-
uses
:
goanpeca/setup-miniconda@v1
env
:
ACTIONS_ALLOW_UNSECURE_COMMANDS
:
'
true'
...
...
@@ -28,7 +27,7 @@ jobs:
-
name
:
Install cmake and update conda
run
:
|
conda install cmake -c main
-
name
:
Build FCL
shell
:
cmd /C CALL {0}
env
:
...
...
@@ -41,7 +40,7 @@ jobs:
set PATH=%PATH:C:\hostedtoolcache\windows\Boost\1.72.0;=%
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64
:: Create build
mkdir build
pushd build
...
...
@@ -52,11 +51,12 @@ jobs:
-G "Visual Studio 16 2019" -T "v142" -DCMAKE_GENERATOR_PLATFORM=x64 ^
-DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
-DCMAKE_BUILD_TYPE=Release ^
-DGENERATE_PYTHON_STUBS=ON ^
-DPYTHON_SITELIB=%CONDA_PREFIX%\Lib\site-packages ^
-DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe ^
-DBUILD_PYTHON_INTERFACE=ON ^
..
:: Build and Install
cmake --build . --config Release --target install
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment