Skip to content

Commit

Permalink
ci: fix error selecting shell
Browse files Browse the repository at this point in the history
  • Loading branch information
morinim committed Jun 19, 2024
1 parent a0c9d5a commit a58ecb9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,21 @@ jobs:
# cc: "clang", cxx: "clang++"
# }

defaults:
run:
shell: ${{ matrix.config.shell }}

steps:
- uses: actions/checkout@v4

- name: Configure CMake / Build
env:
CXX: ${{matrix.config.cxx}}
shell: ${{matrix.config.shell}}
working-directory: ${{github.workspace}}
run: |
cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -B build/ src/
cmake --build build/ --config ${{matrix.build_type}}
- name: Test
shell: ${{matrix.config.shell}}
working-directory: ${{github.workspace}}/build/test
run: ctest --output-on-failure -C ${{matrix.build_type}}

Expand Down

0 comments on commit a58ecb9

Please sign in to comment.