Skip to content

Commit

Permalink
Moved Windows shell option to defaults in GHA config.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lastique committed Nov 7, 2023
1 parent a958880 commit 607c57b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,10 @@ jobs:
cmake --build . --target boost_${LIBRARY}_cmake_self_test -j $BUILD_JOBS
windows:
defaults:
run:
shell: cmd

strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -723,7 +727,6 @@ jobs:
- uses: actions/checkout@v3

- name: Setup Boost
shell: cmd
run: |
echo GITHUB_REPOSITORY: %GITHUB_REPOSITORY%
for /f %%i in ("%GITHUB_REPOSITORY%") do set LIBRARY=%%~nxi
Expand All @@ -748,7 +751,6 @@ jobs:
- name: Run tests
if: matrix.cmake_tests == ''
shell: cmd
run: |
cd ../boost-root
set "B2_ARGS=-j %NUMBER_OF_PROCESSORS% toolset=${{matrix.toolset}} embed-manifest-via=linker"
Expand All @@ -773,7 +775,6 @@ jobs:
- name: Run CMake tests
if: matrix.cmake_tests
shell: cmd
run: |
cd ../boost-root
mkdir __build_static__
Expand Down

0 comments on commit 607c57b

Please sign in to comment.