File tree Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 35
35
36
36
strategy :
37
37
matrix :
38
- os : [ubuntu-latest, windows-latest, macos-latest]
38
+ os : [ubuntu-latest, macos-latest]
39
+ include :
40
+ - os : windows-latest
41
+ windows-arch : x64
42
+ - os : windows-latest
43
+ windows-arch : Win32
39
44
40
45
runs-on : ${{matrix.os}}
41
46
48
53
- name : Run CMake
49
54
shell : bash
50
55
working-directory : ${{runner.workspace}}/build
51
- run : cmake -DENABLE_CLILOADER=1 -DCMAKE_BUILD_TYPE=$BUILD_TYPE $GITHUB_WORKSPACE
56
+ run : |
57
+ if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
58
+ cmake -DENABLE_CLILOADER=1 -DCMAKE_BUILD_TYPE=$BUILD_TYPE -A ${{ matrix.windows-arch }} $GITHUB_WORKSPACE
59
+ else
60
+ cmake -DENABLE_CLILOADER=1 -DCMAKE_BUILD_TYPE=$BUILD_TYPE $GITHUB_WORKSPACE
61
+ fi
52
62
53
63
- name : Build
54
64
working-directory : ${{runner.workspace}}/build
Original file line number Diff line number Diff line change 15
15
release :
16
16
strategy :
17
17
matrix :
18
- os : [ubuntu-latest, windows-latest]
18
+ os : [ubuntu-latest]
19
+ include :
20
+ - os : windows-latest
21
+ windows-arch : x64
22
+ - os : windows-latest
23
+ windows-arch : Win32
19
24
20
25
runs-on : ${{matrix.os}}
21
26
42
47
- name : Run CMake
43
48
shell : bash
44
49
working-directory : ./build
45
- run : cmake -DENABLE_CLILOADER=1 -DCMAKE_BUILD_TYPE=$BUILD_TYPE $GITHUB_WORKSPACE
50
+ run : |
51
+ if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
52
+ cmake -DENABLE_CLILOADER=1 -DCMAKE_BUILD_TYPE=$BUILD_TYPE -A ${{ matrix.windows-arch }} $GITHUB_WORKSPACE
53
+ else
54
+ cmake -DENABLE_CLILOADER=1 -DCMAKE_BUILD_TYPE=$BUILD_TYPE $GITHUB_WORKSPACE
55
+ fi
46
56
47
57
- name : Build
48
58
working-directory : ./build
You can’t perform that action at this time.
0 commit comments