Skip to content
Snippets Groups Projects
Commit 6f98c922 authored by John Parent's avatar John Parent
Browse files

Add eigen install to CI yml

parent ec24661d
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,9 @@ python3:
# Now we use the virtual env's python3
- python3 -m pip install --upgrade pip
- python3 -m pip install pycodestyle .
- cmake -P ./.gitlab/ci/eigen.cmake
- export $PATH=$PWD/eigen-3.3.9:$PATH
- export $EIGEN_DIR=$PWD/eigen-3.3.9:$EIGEN_DIR
only:
- merge_requests
......@@ -53,6 +56,9 @@ windows:
- $pwdpath = $pwd.Path
- Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab;$pwdpath\.gitlab\cmake\bin;$env:PATH"
- Invoke-Expression -Command .gitlab/ci/ninja.ps1
- cmake -P ./gitlab/ci/eigen.cmake
- Set-Item -Force -Path "env:PATH" -Value "$pwdpath\eigen-3.3.9;$env:PATH"
- Set-Item -Force -Path "env:EIGEN_DIR" -Value "$pwdpath\eigen-3.3.9;$env:EIGEN_DIR"
- cmake -P .gitlab/ci/python.cmake
- Set-Item -Force -Path "env:PATH" -Value "$pwdpath\python-win64-3.9.0;$env:PATH"
- Set-Item -Force -Path "env:PYTHONPATH" -Value "$pwdpath\python-win64-3.9.0;$env:PYTHONPATH"
......
......@@ -33,4 +33,4 @@ execute_process(
if (res)
message(FATAL_ERROR
"Failed to extract ${FILE_NAME}: ${err}")
endif ()
\ No newline at end of file
endif ()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment