Skip to content
GitLab
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
896ccc34
Verified
Commit
896ccc34
authored
Apr 11, 2021
by
Justin Carpentier
Browse files
ci: add macos
parent
38183dce
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/macos-conda.yml
0 → 100644
View file @
896ccc34
name
:
Build Pinocchio for Mac OS X via Conda
on
:
[
push
,
pull_request
]
jobs
:
pinocchio-osx-conda
:
runs-on
:
macos-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Checkout submodules
run
:
|
git submodule update --init
-
uses
:
conda-incubator/setup-miniconda@v2
with
:
activate-environment
:
pinocchio
auto-update-conda
:
true
environment-file
:
.github/workflows/conda/conda-env.yml
python-version
:
3.8
-
name
:
Install cmake and update conda
run
:
|
conda install cmake -c main
-
name
:
Build Pinocchio
run
:
|
echo $CONDA_PREFIX
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Debug -DBUILD_WITH_COLLISION_SUPPORT=ON -DBUILD_ADVANCED_TESTING=ON -DBUILD_WITH_CASADI_SUPPORT=OFF -DPYTHON_EXECUTABLE=$(which python3) -DBUILD_WITH_OPENMP_SUPPORT=OFF
make
make build_tests
export CTEST_OUTPUT_ON_FAILURE=1
make test
make install
-
name
:
Uninstall Pinocchio
run
:
|
cd build
make uninstall
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment