CI (Windows): set msys2 {0} as the default shell for all Windows steps (#247)

This commit is contained in:
Dilum Aluthge 2021-09-09 19:21:05 -04:00 committed by GitHub
parent b48a2f7019
commit f88e52a89e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,9 @@ jobs:
- { sys: mingw32, env: i686 }
- { sys: ucrt64, env: ucrt-x86_64 } # Experimental!
- { sys: clang64, env: clang-x86_64 } # Experimental!
defaults:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v2
- name: Set up the desired MSYS2 environment
@ -38,6 +41,4 @@ jobs:
msystem: ${{matrix.sys}}
install: base-devel mingw-w64-${{matrix.env}}-toolchain
- run: make
shell: msys2 {0}
- run: make test
shell: msys2 {0}