Verified Commit 47216e4a authored by Justin Carpentier's avatar Justin Carpentier
Browse files

ci: add macos/linux via Conda

parent e8764dd4
Pipeline #14068 passed with stage
in 41 minutes and 11 seconds
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment