Change to bash shell to fail on first error

release/4.3a0
Tal Regev 2023-07-24 23:53:55 +03:00
parent 00895911c0
commit 8ac72e8e68
No known key found for this signature in database
GPG Key ID: A421558E0F87AC82
1 changed files with 2 additions and 0 deletions

View File

@ -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"
- name: Build
shell: bash
run: |
# Since Visual Studio is a multi-generator, we need to use --config
# https://stackoverflow.com/a/24470998/1236990
@ -109,6 +110,7 @@ jobs:
# cmake --build build -j4 --config ${{ matrix.build_type }} --target wrap
- name: Test
shell: bash
run: |
# Run GTSAM tests
cmake --build build -j4 --config ${{ matrix.build_type }} --target check.base