mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
ci: add Win32 and ARM64 windows CI
This commit is contained in:
12
.github/workflows/os-check.yml
vendored
12
.github/workflows/os-check.yml
vendored
@@ -125,6 +125,10 @@ jobs:
|
|||||||
windows_build:
|
windows_build:
|
||||||
name: Windows Build Test
|
name: Windows Build Test
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
arch: [ x64, Win32, ARM64 ]
|
||||||
# This should be a safe limit for the tests to run.
|
# This should be a safe limit for the tests to run.
|
||||||
timeout-minutes: 6
|
timeout-minutes: 6
|
||||||
env:
|
env:
|
||||||
@@ -135,7 +139,6 @@ jobs:
|
|||||||
# You can convert this to a build matrix if you need coverage of multiple configuration types.
|
# You can convert this to a build matrix if you need coverage of multiple configuration types.
|
||||||
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
|
||||||
BUILD_CONFIGURATION: Release
|
BUILD_CONFIGURATION: Release
|
||||||
BUILD_PLATFORM: x64
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
@@ -150,8 +153,9 @@ jobs:
|
|||||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
working-directory: ${{env.GITHUB_WORKSPACE}}
|
||||||
# Add additional options to the MSBuild command line here (like platform or verbosity level).
|
# Add additional options to the MSBuild command line here (like platform or verbosity level).
|
||||||
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
|
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
|
||||||
run: msbuild /m /p:PlatformToolset=v142 /p:Platform=${{env.BUILD_PLATFORM}} /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
|
run: msbuild /m /p:PlatformToolset=v142 /p:Platform=${{matrix.arch}} /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}
|
||||||
|
|
||||||
- name: Run Test
|
- if: ${{ matrix.arch != 'ARM64' }}
|
||||||
|
name: Run Test
|
||||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
working-directory: ${{env.GITHUB_WORKSPACE}}
|
||||||
run: Release/x64/testsuite.exe
|
run: Release/${{matrix.arch}}/testsuite.exe
|
||||||
|
Reference in New Issue
Block a user