ci/win: add mingw64

This commit is contained in:
umarcor
2020-12-03 08:07:27 +01:00
parent 5c76ce3923
commit bbd09ce87c
2 changed files with 11 additions and 6 deletions
+8 -6
View File
@@ -41,6 +41,8 @@ jobs:
win:
runs-on: windows-latest
name: '🧊 Windows'
defaults:
shell: bash
steps:
- run: git config --global core.autocrlf input
@@ -56,11 +58,11 @@ jobs:
mingw-w64-x86_64-toolchain
update: true
- name: Build and test
shell: bash
run: |
export mingw64='cmd //C RefreshEnv.cmd & set MSYS=winsymlinks:nativestrict & C:\\msys64\\msys2_shell.cmd -defterm -no-start -mingw64 -full-path -here -c "$@" --'
- name: Add .github to PATH
run: echo "$(cygpath -w $(pwd)/.github)" >> $GITHUB_PATH
$mingw64 ./.github/build.sh
- name: Build
run: mingw64 ./.github/build.sh
$mingw64 ./.github/test.sh
- name: Test
run: mingw64 ./.github/test.sh