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
Humanoid Path Planner
hpp-fcl
Commits
47216e4a
Verified
Commit
47216e4a
authored
Apr 16, 2021
by
Justin Carpentier
Browse files
ci: add macos/linux via Conda
parent
e8764dd4
Pipeline
#14068
passed with stage
in 41 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/macos-linux-conda.yml
0 → 100644
View file @
47216e4a
name
:
Build hpp-fcl for Mac OS X/Linux via Conda
on
:
[
push
,
pull_request
]
jobs
:
hpp-fcl-conda
:
name
:
hpp-fcl on ${{ matrix.os }} with Conda
runs-on
:
${{ matrix.os }}
strategy
:
fail-fast
:
false
matrix
:
os
:
[
"
ubuntu-latest"
,
"
macos-latest"
]
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Checkout submodules
run
:
|
git submodule update --init
-
uses
:
conda-incubator/setup-miniconda@v2
with
:
activate-environment
:
hpp-fcl
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 hpp-fcl
conda install cmake -c main
conda install llvm-openmp -c conda-forge
-
name
:
Build hpp-fcl
shell
:
bash -l {0}
run
:
|
conda activate hpp-fcl
echo $CONDA_PREFIX
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$(which python3)
make -j2
make build_tests
export CTEST_OUTPUT_ON_FAILURE=1
make test
make install
-
name
:
Uninstall hpp-fcl
shell
:
bash -l {0}
run
:
|
cd build
make uninstall
Write
Preview
Supports
Markdown
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