Skip to content

Commit aa4ea32

Browse files
committed
add Win32 build configurations to GitHub actions CI
1 parent e298167 commit aa4ea32

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@ jobs:
3535

3636
strategy:
3737
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
3945

4046
runs-on: ${{matrix.os}}
4147

@@ -48,7 +54,12 @@ jobs:
4854
- name: Run CMake
4955
shell: bash
5056
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
5263
5364
- name: Build
5465
working-directory: ${{runner.workspace}}/build

0 commit comments

Comments
 (0)