File tree Expand file tree Collapse file tree 1 file changed +25
-11
lines changed Expand file tree Collapse file tree 1 file changed +25
-11
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,29 @@ jobs:
25
25
- run : make test
26
26
27
27
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
32
37
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