Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
eigenpy
Commits
0da2a580
Unverified
Commit
0da2a580
authored
Feb 27, 2020
by
Justin Carpentier
Committed by
GitHub
Feb 27, 2020
Browse files
Merge pull request #166 from jcarpent/devel
Add Windows CI
parents
96c327e3
3ba45780
Changes
2
Hide whitespace changes
Inline
Side-by-side
.github/workflows/build.yml
0 → 100644
View file @
0da2a580
name
:
Build Eigenpy
on
:
pull_request
:
push
:
branches
:
-
master
-
devel
jobs
:
build
:
runs-on
:
${{ matrix.os }}
strategy
:
fail-fast
:
false
matrix
:
os
:
[
windows-latest
]
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Checkout submodules
run
:
|
git submodule update --init
-
uses
:
goanpeca/setup-miniconda@v1
with
:
activate-environment
:
eigenpy
environment-file
:
ci/environment.yml
python-version
:
3.7
-
name
:
Build Eigenpy
shell
:
cmd /C CALL {0}
run
:
|
:: unset extra Boost envs
set Boost_ROOT=
set BOOST_ROOT_1_69_0=
set BOOST_ROOT_1_72_0=
set PATH=%PATH:C:\hostedtoolcache\windows\Boost\1.72.0;=%
:: start building
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64
mkdir build
pushd build
set PKG_CONFIG_PATH=%CONDA_PREFIX%\Library\share\pkgconfig
cmake ^
-G "NMake Makefiles" ^
-DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
-DCMAKE_BUILD_TYPE=Release ^
-DEIGENPY_SITELIB_ROOT=%CONDA_PREFIX% ^
-DEIGEN3_FOUND=1 ^
-DEIGEN3_INCLUDE_DIRS=%CONDA_PREFIX%\Library\include\eigen3 ^
-DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe ^
..
cmake --build . --config Release --target install
ci/environment.yml
0 → 100644
View file @
0da2a580
name
:
eigenpy
channels
:
-
conda-forge
-
defaults
dependencies
:
-
eigen
-
cmake
-
numpy
-
pkg-config
-
boost
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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