File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 1- name : CI - EigenPy for Mac OS X/Linux via Conda
1+ name : Conda-CI
22
33on : [push,pull_request]
44
55jobs :
66 eigenpy-conda :
7- name : CI on ${{ matrix.os }} via Conda
7+ name : ${{ matrix.os }} - ${{ matrix.build_type }} ${{ matrix.cxx_options }}
88 runs-on : ${{ matrix.os }}
99 env :
1010 CCACHE_DIR : /github/home/.ccache # Enable ccache
1313 fail-fast : false
1414 matrix :
1515 os : ["ubuntu-latest", "macos-latest"]
16+ cxx_options : ['', '-mavx2']
17+ build_type : [Release, Debug]
1618
1719 steps :
1820 - uses : actions/checkout@v2
2931 - uses : actions/cache@v2
3032 with :
3133 path : ${{ env.CCACHE_DIR }}
32- key : ccache-${{ matrix.os }}
34+ key : ccache-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.cxx_options }}
3335
3436 - name : Install cmake and update conda
3537 shell : bash -l {0}
4749 mkdir build
4850 cd build
4951
50- cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$(which python3) -DGENERATE_PYTHON_STUBS=ON
52+ 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 }}
5153 make
5254 make build_tests
5355 export CTEST_OUTPUT_ON_FAILURE=1
You can’t perform that action at this time.
0 commit comments