Skip to content

Add WindowsMessageBox class #769

Add WindowsMessageBox class

Add WindowsMessageBox class #769

Workflow file for this run

name: Windows
on: [push, pull_request]
jobs:
msbuild:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019, windows-2022]
toolset: [ClangCL, MSVC]
configuration: [Debug, Release]
exclude:
- os: windows-2019
toolset: ClangCL
steps:
- uses: actions/checkout@v3
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Set toolset
if: matrix.toolset == 'ClangCL'
run: echo "toolset=/p:PlatformToolset=${{ matrix.toolset }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Build
shell: cmd
run: msbuild Osiris.sln /p:Platform=x86 /p:Configuration=${{ matrix.configuration }} ${{ env.toolset }}
cmake:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019, windows-2022]
toolset: [ClangCL, MSVC]
configuration: [Debug, Release]
arch: [Win32, x64]
exclude:
- os: windows-2019
toolset: ClangCL
steps:
- uses: actions/checkout@v3
- name: Set toolset
if: matrix.toolset == 'ClangCL'
run: echo "toolset=-T ${{ matrix.toolset }}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: configure
run: cmake -D BUILD_TESTS=1 -A ${{ matrix.arch }} ${{ env.toolset }} -B build
- name: build
run: cmake --build build --config ${{ matrix.configuration }}
- name: Run unit tests
run: cd build && ctest --output-on-failure --schedule-random -j $env:NUMBER_OF_PROCESSORS