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
68382811
Unverified
Commit
68382811
authored
Apr 12, 2021
by
Justin Carpentier
Committed by
GitHub
Apr 12, 2021
Browse files
Merge pull request #1429 from jcarpent/topic/ci
Add Mac OS X ci
parents
9d6eea66
1cdcc098
Pipeline
#13998
passed with stage
in 241 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/macos-conda.yml
0 → 100644
View file @
68382811
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
shell
:
bash -l {0}
run
:
|
conda activate pinocchio
conda install cmake -c main
-
name
:
Build Pinocchio
shell
:
bash -l {0}
run
:
|
conda activate pinocchio
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
shell
:
bash -l {0}
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