Skip to content
Snippets Groups Projects
Verified Commit 23c760b0 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

ci: add macos/linux via Conda

parent 503d7d6e
No related branches found
No related tags found
No related merge requests found
name: CI - EigenPy for Mac OS X/Linux via Conda
on: [push,pull_request]
jobs:
eigenpy-conda:
name: CI - EigenPy on ${{ matrix.os }} via 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: eigenpy
auto-update-conda: true
environment-file: .github/workflows/conda/environment.yml
python-version: 3.8
- name: Install cmake and update conda
shell: bash -l {0}
run: |
conda activate eigenpy
conda install cmake -c main
- name: Build EigenPy
shell: bash -l {0}
run: |
conda activate eigenpy
echo $CONDA_PREFIX
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$(which python3)
make
make build_tests
export CTEST_OUTPUT_ON_FAILURE=1
make test
make install
- name: Uninstall EigenPy
shell: bash -l {0}
run: |
cd build
make uninstall
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment