Skip to content

Commit 62c6a3d

Browse files
committed
ci: add Win32 and ARM64 windows CI
1 parent 34224d8 commit 62c6a3d

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/os-check.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ jobs:
125125
windows_build:
126126
name: Windows Build Test
127127
runs-on: windows-latest
128+
strategy:
129+
fail-fast: false
130+
matrix:
131+
arch: [ x64, Win32, ARM64 ]
128132
# This should be a safe limit for the tests to run.
129133
timeout-minutes: 6
130134
env:
@@ -135,7 +139,6 @@ jobs:
135139
# You can convert this to a build matrix if you need coverage of multiple configuration types.
136140
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
137141
BUILD_CONFIGURATION: Release
138-
BUILD_PLATFORM: x64
139142
steps:
140143
- uses: actions/checkout@v4
141144

@@ -150,8 +153,9 @@ jobs:
150153
working-directory: ${{env.GITHUB_WORKSPACE}}
151154
# Add additional options to the MSBuild command line here (like platform or verbosity level).
152155
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
153-
run: msbuild /m /p:PlatformToolset=v142 /p:Platform=${{env.BUILD_PLATFORM}} /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
156+
run: msbuild /m /p:PlatformToolset=v142 /p:Platform=${{matrix.arch}} /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
154157

155-
- name: Run Test
158+
- if: ${{ matrix.arch != 'ARM64' }}
159+
name: Run Test
156160
working-directory: ${{env.GITHUB_WORKSPACE}}
157-
run: Release/x64/testsuite.exe
161+
run: Release/${{matrix.arch}}/testsuite.exe

0 commit comments

Comments
 (0)