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
Simple Robotics
pycppad
Commits
3627077e
Verified
Commit
3627077e
authored
Aug 24, 2021
by
Justin Carpentier
Browse files
ci: fix
parent
a315936e
Changes
2
Hide whitespace changes
Inline
Side-by-side
.github/workflows/ci-windows-v142.yml
View file @
3627077e
...
@@ -56,7 +56,7 @@ jobs:
...
@@ -56,7 +56,7 @@ jobs:
cmake ^
cmake ^
-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=
${{env.BUILD_TYPE}}
^
-DCMAKE_BUILD_TYPE=
Release
^
-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_WITH_CPPAD_CODEGEN_BINDINGS=OFF ^
-DBUILD_WITH_CPPAD_CODEGEN_BINDINGS=OFF ^
...
...
.github/workflows/windows-conda-v142.yml
deleted
100644 → 0
View file @
a315936e
name
:
Build Pinocchio for Windows (v142) via Conda
on
:
pull_request
:
push
:
jobs
:
build
:
runs-on
:
${{ matrix.os }}
strategy
:
fail-fast
:
false
matrix
:
name
:
[
windows-latest
]
include
:
-
name
:
windows-latest
os
:
windows-2019
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Checkout submodules
run
:
|
git submodule update --init
-
uses
:
goanpeca/setup-miniconda@v1
env
:
ACTIONS_ALLOW_UNSECURE_COMMANDS
:
'
true'
with
:
activate-environment
:
pinocchio
environment-file
:
.github/workflows/conda/conda-env.yml
python-version
:
3.7
-
name
:
Install cmake and update conda
run
:
|
conda install cmake -c main
-
name
:
Display the path
run
:
echo %cd%
shell
:
cmd
-
name
:
Build Pinocchio
shell
:
cmd /C CALL {0}
env
:
ACTIONS_ALLOW_UNSECURE_COMMANDS
:
'
true'
run
:
|
:: unset extra Boost envs
set Boost_ROOT=
set BOOST_ROOT_1_69_0=
set BOOST_ROOT_1_72_0=
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64
:: Create build directory
mkdir build
pushd build
:: Configure
cmake ^
-G "Visual Studio 16 2019" -T "v142" -DCMAKE_GENERATOR_PLATFORM=x64 ^
-DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
-DCMAKE_BUILD_TYPE=Release ^
-DPYTHON_SITELIB=%CONDA_PREFIX%\Lib\site-packages ^
-DPYTHON_EXECUTABLE=%CONDA_PREFIX%\python.exe ^
-DBUILD_WITH_URDF_SUPPORT=ON ^
-DBUILD_PYTHON_INTERFACE=OFF ^
-DBUILD_WITH_COLLISION_SUPPORT=ON ^
-DBUILD_TESTING=ON ^
..
:: Build
cmake --build . --config Release --target install
# - name: Start SSH session
# uses: luchihoratiu/debug-via-ssh@main
# with:
# NGROK_AUTH_TOKEN: ${{ secrets.NGROK_AUTH_TOKEN }}
# SSH_PASS: ${{ secrets.SSH_PASS }}
#
-
name
:
Testing
shell
:
cmd /C CALL {0}
env
:
ACTIONS_ALLOW_UNSECURE_COMMANDS
:
'
true'
run
:
|
:: Testing
pushd build
set PATH=%PATH%;%CONDA_PREFIX%\Lib\site-packages\pinocchio
set PATH=%PATH%;%CONDA_PREFIX%\Library\Lib
set PATH=%PATH%;%CONDA_PREFIX%\Library\bin
.\unittest\Release\test-cpp-urdf.exe
.\examples\Release\example-cpp-geometry-models.exe
ctest --output-on-failure -C Release -V --repeat until-pass:1
# :: Test Python import
# cd ..
# python -c "import pinocchio"
Write
Preview
Markdown
is supported
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