Change to bash shell to fail on first error
parent
00895911c0
commit
8ac72e8e68
|
@ -99,6 +99,7 @@ jobs:
|
||||||
cmake -B build -S . -DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF -DBOOST_ROOT="${env:BOOST_ROOT}" -DBOOST_INCLUDEDIR="${env:BOOST_ROOT}\boost\include" -DBOOST_LIBRARYDIR="${env:BOOST_ROOT}\lib"
|
cmake -B build -S . -DGTSAM_BUILD_EXAMPLES_ALWAYS=OFF -DBOOST_ROOT="${env:BOOST_ROOT}" -DBOOST_INCLUDEDIR="${env:BOOST_ROOT}\boost\include" -DBOOST_LIBRARYDIR="${env:BOOST_ROOT}\lib"
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
# Since Visual Studio is a multi-generator, we need to use --config
|
# Since Visual Studio is a multi-generator, we need to use --config
|
||||||
# https://stackoverflow.com/a/24470998/1236990
|
# https://stackoverflow.com/a/24470998/1236990
|
||||||
|
@ -109,6 +110,7 @@ jobs:
|
||||||
# cmake --build build -j4 --config ${{ matrix.build_type }} --target wrap
|
# cmake --build build -j4 --config ${{ matrix.build_type }} --target wrap
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
# Run GTSAM tests
|
# Run GTSAM tests
|
||||||
cmake --build build -j4 --config ${{ matrix.build_type }} --target check.base
|
cmake --build build -j4 --config ${{ matrix.build_type }} --target check.base
|
||||||
|
|
Loading…
Reference in New Issue