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