File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
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
+ windows-arch : [x64, x86]
40
+ include :
41
+ - os : windows-latest
42
+ windows-arch : x64
43
+ - os : windows-latest
44
+ windows-arch : x86
39
45
40
46
runs-on : ${{matrix.os}}
41
47
48
54
- name : Run CMake
49
55
shell : bash
50
56
working-directory : ${{runner.workspace}}/build
51
- run : cmake -DENABLE_CLILOADER=1 -DCMAKE_BUILD_TYPE=$BUILD_TYPE $GITHUB_WORKSPACE
57
+ run : |
58
+ if [[ "${{ matrix.os }}" == "windows-latest" ]]; then
59
+ cmake -DENABLE_CLILOADER=1 -DCMAKE_BUILD_TYPE=$BUILD_TYPE -A ${{ matrix.windows-arch }} $GITHUB_WORKSPACE
60
+ else
61
+ cmake -DENABLE_CLILOADER=1 -DCMAKE_BUILD_TYPE=$BUILD_TYPE $GITHUB_WORKSPACE
62
+ fi
52
63
53
64
- name : Build
54
65
working-directory : ${{runner.workspace}}/build
You can’t perform that action at this time.
0 commit comments