Verified Commit 32014f56 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

ci: enable GENERATE_PYTHON_STUBS=ON

parent 73aefc17
Pipeline #15890 passed with stage
in 94 minutes and 22 seconds
...@@ -4,7 +4,7 @@ on: [push,pull_request] ...@@ -4,7 +4,7 @@ on: [push,pull_request]
jobs: jobs:
hpp-fcl-conda: hpp-fcl-conda:
name: hpp-fcl on ${{ matrix.os }} with Conda name: CI on ${{ matrix.os }} with Conda
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
...@@ -14,10 +14,8 @@ jobs: ...@@ -14,10 +14,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
- name: Checkout submodules submodules: recursive
run: |
git submodule update --init
- uses: conda-incubator/setup-miniconda@v2 - uses: conda-incubator/setup-miniconda@v2
with: with:
...@@ -42,7 +40,7 @@ jobs: ...@@ -42,7 +40,7 @@ jobs:
mkdir build mkdir build
cd 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 -j2
make build_tests make build_tests
export CTEST_OUTPUT_ON_FAILURE=1 export CTEST_OUTPUT_ON_FAILURE=1
......
...@@ -16,9 +16,8 @@ jobs: ...@@ -16,9 +16,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Checkout submodules with:
run: | submodules: recursive
git submodule update --init
- uses: goanpeca/setup-miniconda@v1 - uses: goanpeca/setup-miniconda@v1
env: env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
...@@ -53,6 +52,7 @@ jobs: ...@@ -53,6 +52,7 @@ jobs:
-G "Visual Studio 16 2019" -T "ClangCl" -DCMAKE_GENERATOR_PLATFORM=x64 ^ -G "Visual Studio 16 2019" -T "ClangCl" -DCMAKE_GENERATOR_PLATFORM=x64 ^
-DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^ -DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
-DCMAKE_BUILD_TYPE=Release ^ -DCMAKE_BUILD_TYPE=Release ^
-DGENERATE_PYTHON_STUBS=ON ^
-DPYTHON_SITELIB=%CONDA_PREFIX%\Lib\site-packages ^ -DPYTHON_SITELIB=%CONDA_PREFIX%\Lib\site-packages ^
-DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe ^ -DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe ^
-DBUILD_PYTHON_INTERFACE=ON ^ -DBUILD_PYTHON_INTERFACE=ON ^
......
...@@ -15,9 +15,8 @@ jobs: ...@@ -15,9 +15,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Checkout submodules with:
run: | submodules: recursive
git submodule update --init
- uses: goanpeca/setup-miniconda@v1 - uses: goanpeca/setup-miniconda@v1
env: env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
...@@ -52,6 +51,7 @@ jobs: ...@@ -52,6 +51,7 @@ jobs:
-G "Visual Studio 16 2019" -T "v142" -DCMAKE_GENERATOR_PLATFORM=x64 ^ -G "Visual Studio 16 2019" -T "v142" -DCMAKE_GENERATOR_PLATFORM=x64 ^
-DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^ -DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
-DCMAKE_BUILD_TYPE=Release ^ -DCMAKE_BUILD_TYPE=Release ^
-DGENERATE_PYTHON_STUBS=ON ^
-DPYTHON_SITELIB=%CONDA_PREFIX%\Lib\site-packages ^ -DPYTHON_SITELIB=%CONDA_PREFIX%\Lib\site-packages ^
-DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe ^ -DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe ^
-DBUILD_PYTHON_INTERFACE=ON ^ -DBUILD_PYTHON_INTERFACE=ON ^
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment