Skip to content

Commit 0145f8f

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

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/build.yml

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

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

4043
runs-on: ${{matrix.os}}
4144

@@ -48,7 +51,12 @@ jobs:
4851
- name: Run CMake
4952
shell: bash
5053
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
5260
5361
- name: Build
5462
working-directory: ${{runner.workspace}}/build

0 commit comments

Comments
 (0)