File tree Expand file tree Collapse file tree 1 file changed +28
-8
lines changed Expand file tree Collapse file tree 1 file changed +28
-8
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
build :
11
-
12
11
runs-on : ${{ matrix.os }}
13
12
strategy :
14
13
fail-fast : false
@@ -19,13 +18,34 @@ jobs:
19
18
- windows-latest
20
19
arch :
21
20
- x64
22
- - x32
21
+ - x86
23
22
- armv7
24
23
- aarch64
25
-
24
+ exclude :
25
+ - os : windows-latest
26
+ arch : aarch64
27
+ - os : windows-latest
28
+ arch : armv7
29
+ - os : windows-latest
30
+ arch : x86
31
+ - os : macos-latest
32
+ arch : armv7
33
+ - os : macos-latest
34
+ arch : x86
35
+
26
36
steps :
27
- - uses : actions/checkout@v2
28
- - name : make
29
- run : make
30
- - name : make test
31
- run : make test
37
+ - uses : actions/checkout@v2
38
+ - name : Install i686-w64-mingw32-gcc
39
+ if : ${{ matrix.os == 'windows-latest' && matrix.arch == 'x86' }}
40
+ shell : bash
41
+ run : |
42
+ choco install mingw -y --x86 --force --params "/exception:sjlj"
43
+ choco install make -y
44
+ echo "CC=i686-w64-mingw32-gcc" >> "${GITHUB_ENV}"
45
+ - name : Set compiler for 64-bit Windows
46
+ if : ${{ matrix.os == 'windows-latest' && matrix.arch == 'x64' }}
47
+ shell : bash
48
+ run : |
49
+ echo "CC=x86_64-w64-mingw32-gcc" >> "${GITHUB_ENV}"
50
+ - name : Build and run tests
51
+ run : make && make test
You can’t perform that action at this time.
0 commit comments