File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -69,14 +69,15 @@ jobs:
6969 environments : ${{ matrix.environment }}
7070
7171 - name : Build EigenPy
72- shell : bash -el {0}
72+ shell : pixi run bash -el {0}
7373 run : |
7474 pixi run -e ${{ matrix.environment }} \
7575 configure \
7676 -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
7777 -DCMAKE_CXX_FLAGS=${{ matrix.cxx_options }}
78- pixi run -e ${{ matrix.environment }} build
79- pixi run -e ${{ matrix.environment }} test
78+ # Don't run build and clean to not overwrite CMAKE_BUILD_TYPE and CMAKE_CXX_FLAGS
79+ cmake --build build --target all
80+ ctest --test-dir build --output-on-failure
8081
8182 check :
8283 if : always()
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ base_configure = { cmd = [
3939configure = { depends_on = [" base_configure" ] }
4040build = { cmd = " cmake --build build --target all" , depends_on = [" configure" ] }
4141clean = { cmd = " rm -rf build" }
42- test = { cmd = " ctest --test-dir build --output-on-failure " , depends_on = [
42+ test = { cmd = " ctest --test-dir build --output-on-failure" , depends_on = [
4343 " build" ,
4444] }
4545
You can’t perform that action at this time.
0 commit comments