Skip to content

Commit 319b886

Browse files
committed
use bash as shell for buster CI job
1 parent 5a9455c commit 319b886

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/cmake.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
4949
- name: Build
5050
# Build your program with the given configuration
51-
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
51+
run: cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE}}
5252

5353
- name: Test
54-
working-directory: ${{github.workspace}}/build
54+
working-directory: ${{ github.workspace }}/build
5555
# Execute tests defined by the CMake configuration.
5656
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
5757
run: ctest -C ${{env.BUILD_TYPE}}
@@ -63,6 +63,9 @@ jobs:
6363
image: debian:buster
6464
env:
6565
DEBIAN_FRONTEND: noninteractive
66+
defaults:
67+
run:
68+
shell: bash
6669
steps:
6770
- name: Install dependencies
6871
run: |
@@ -93,7 +96,7 @@ jobs:
9396
run: cmake --build ${{ github.workspace }}/build --config ${{ env.BUILD_TYPE }}
9497

9598
- name: Test
96-
working-directory: ${{github.workspace}}/build
99+
working-directory: ${{ github.workspace }}/build
97100
# Execute tests defined by the CMake configuration.
98101
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
99-
run: ctest -C ${{env.BUILD_TYPE}}
102+
run: ctest -C ${{ env.BUILD_TYPE }}

0 commit comments

Comments
 (0)