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

ci: enforce strategy

parent a28bcaae
No related branches found
No related tags found
No related merge requests found
Pipeline #24319 passed with warnings
name: CI - EigenPy for Mac OS X/Linux via Conda
name: Conda-CI
on: [push,pull_request]
jobs:
eigenpy-conda:
name: CI on ${{ matrix.os }} via Conda
name: ${{ matrix.os }} - ${{ matrix.build_type }} ${{ matrix.cxx_options }}
runs-on: ${{ matrix.os }}
env:
CCACHE_DIR: /github/home/.ccache # Enable ccache
......@@ -13,6 +13,8 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest"]
cxx_options: ['', '-mavx2']
build_type: [Release, Debug]
steps:
- uses: actions/checkout@v2
......@@ -29,7 +31,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.os }}
key: ccache-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.cxx_options }}
- name: Install cmake and update conda
shell: bash -l {0}
......@@ -47,7 +49,7 @@ jobs:
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$(which python3) -DGENERATE_PYTHON_STUBS=ON
cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$(which python3) -DGENERATE_PYTHON_STUBS=ON -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DCMAKE_CXX_FLAGS=${{ matrix.cxx_options }}
make
make build_tests
export CTEST_OUTPUT_ON_FAILURE=1
......
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