Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
eigenpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stack Of Tasks
eigenpy
Commits
57c01ec6
Verified
Commit
57c01ec6
authored
2 years ago
by
Justin Carpentier
Browse files
Options
Downloads
Patches
Plain Diff
ci: fix windows
parent
0a639a3d
No related branches found
No related tags found
No related merge requests found
Pipeline
#20613
passed with warnings
2 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/windows-conda.yml
+7
-0
7 additions, 0 deletions
.github/workflows/windows-conda.yml
with
7 additions
and
0 deletions
.github/workflows/windows-conda.yml
+
7
−
0
View file @
57c01ec6
...
@@ -30,9 +30,11 @@ jobs:
...
@@ -30,9 +30,11 @@ jobs:
set BOOST_ROOT_1_69_0=
set BOOST_ROOT_1_69_0=
set BOOST_ROOT_1_72_0=
set BOOST_ROOT_1_72_0=
set PATH=%PATH:C:\hostedtoolcache\windows\Boost\1.72.0;=%
set PATH=%PATH:C:\hostedtoolcache\windows\Boost\1.72.0;=%
if errorlevel 1 exit 1
:: start building
:: start building
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64
if errorlevel 1 exit 1
mkdir build
mkdir build
pushd build
pushd build
cmake ^
cmake ^
...
@@ -43,17 +45,22 @@ jobs:
...
@@ -43,17 +45,22 @@ jobs:
-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 ^
..
..
if errorlevel 1 exit 1
:: Build and Install
:: Build and Install
cmake --build . --config Release --target install
cmake --build . --config Release --target install
if errorlevel 1 exit 1
:: Build stubs
:: Build stubs
git clone https://github.com/jcarpent/pybind11-stubgen.git
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 ""
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
:: Testing
:: Testing
ctest --output-on-failure -C Release -V
ctest --output-on-failure -C Release -V
if errorlevel 1 exit 1
:: Test Python import
:: Test Python import
cd ..
cd ..
python -c "import eigenpy"
python -c "import eigenpy"
if errorlevel 1 exit 1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment