File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,15 +25,29 @@ jobs:
2525 - run : make test
2626
2727 buildwindows :
28- runs-on : windows-latest
29- defaults :
30- run :
31- shell : msys2 {0}
28+ runs-on : ${{ matrix.os }}
29+ strategy :
30+ fail-fast : false
31+ matrix :
32+ os :
33+ - windows-latest
34+ julia-arch :
35+ - x64
36+ - x86
3237 steps :
33- - uses : actions/checkout@v2
34- - uses : msys2/setup-msys2@v2
35- with :
36- msystem : MINGW64
37- install : make mingw-w64-x86_64-toolchain
38- - run : make
39- - run : make test
38+ - uses : actions/checkout@v2
39+ - name : Install i686-w64-mingw32-gcc
40+ if : ${{ matrix.os == 'windows-latest' && matrix.julia-arch == 'x86' }}
41+ shell : bash
42+ run : |
43+ choco install mingw -y --x86 --force --params "/exception:sjlj"
44+ choco install make -y
45+ echo "CC=i686-w64-mingw32-gcc" >> "${GITHUB_ENV}"
46+ - name : Set compiler for 64-bit Windows
47+ if : ${{ matrix.os == 'windows-latest' && matrix.julia-arch == 'x64' }}
48+ shell : bash
49+ run : |
50+ echo "CC=x86_64-w64-mingw32-gcc" >> "${GITHUB_ENV}"
51+ - name : Build and run tests
52+ - run : make
53+ - run : make test
You can’t perform that action at this time.
0 commit comments