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
pinocchio
Commits
dd2a1b55
Verified
Commit
dd2a1b55
authored
Feb 20, 2020
by
Justin Carpentier
Browse files
ci: use default Python settings for cmake
parent
64c0587e
Changes
2
Hide whitespace changes
Inline
Side-by-side
.github/workflows/ccpp.yml
View file @
dd2a1b55
...
...
@@ -34,7 +34,7 @@ jobs:
export MAKEFLAGS="-j2"
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_WITH_COLLISION_SUPPORT=ON
-DPYTHON_EXECUTABLE=$(which python2)
-DBUILD_ADVANCED_TESTING=ON
cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_WITH_COLLISION_SUPPORT=ON -DBUILD_ADVANCED_TESTING=ON
make
make build_tests
export CTEST_OUTPUT_ON_FAILURE=1
...
...
travis_custom/custom_build
View file @
dd2a1b55
...
...
@@ -5,13 +5,6 @@ set -e
set
-x
set
-v
# Setup environment variables.
if
[[
$TRAVIS_PYTHON_VERSION
-gt
30
]]
;
then
export
CMAKE_ADDITIONAL_OPTIONS
=
"
${
CMAKE_ADDITIONAL_OPTIONS
}
-DPYTHON_EXECUTABLE=
$(
which python3
)
"
else
export
CMAKE_ADDITIONAL_OPTIONS
=
"
${
CMAKE_ADDITIONAL_OPTIONS
}
-DPYTHON_EXECUTABLE=
$(
which python2
)
"
fi
export
CMAKE_ADDITIONAL_OPTIONS
=
"
${
CMAKE_ADDITIONAL_OPTIONS
}
-DBUILD_BENCHMARK=
\"
ON
\"
-DBUILD_TESTING=
\"
ON
\"
-DCMAKE_CXX_FLAGS=-DBOOST_SYSTEM_NO_DEPRECATED"
if
[[
";
${
DO_INSTALL_DOC_EXCEPT_ON_BRANCH
}
;"
==
*
";
${
CI_BRANCH
}
;"
*
]]
;
then
export
CMAKE_ADDITIONAL_OPTIONS
=
"
${
CMAKE_ADDITIONAL_OPTIONS
}
-DINSTALL_DOCUMENTATION=
\"
OFF
\"
"
...
...
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