Make style properties standard layout #1891
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Windows | |
| on: [push, pull_request] | |
| jobs: | |
| msbuild: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [windows-2022, windows-2025] | |
| toolset: [ClangCL, MSVC] | |
| configuration: [Debug, Release] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Add msbuild to PATH | |
| uses: microsoft/setup-msbuild@v2 | |
| - 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=x64 /p:Configuration=${{ matrix.configuration }} ${{ env.toolset }} | |
| cmake: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [windows-2022, windows-2025] | |
| toolset: [ClangCL, MSVC] | |
| configuration: [Debug, Release] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - 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 -Werror=dev -D ENABLE_TESTS="unit;functional" -D CMAKE_COMPILE_WARNING_AS_ERROR=1 -A x64 ${{ env.toolset }} -B build | |
| - name: build source | |
| run: cmake --build build --target Osiris --config ${{ matrix.configuration }} | |
| - name: build unit tests | |
| run: cmake --build build --target UnitTests --config ${{ matrix.configuration }} | |
| - name: build functional tests | |
| run: cmake --build build --target FunctionalTests --config ${{ matrix.configuration }} | |
| - name: run unit tests | |
| run: ctest -R ^Unit --test-dir build --output-on-failure --no-tests=error --schedule-random -j $env:NUMBER_OF_PROCESSORS | |
| - name: run functional tests | |
| run: ctest -R ^Functional --test-dir build --output-on-failure --no-tests=error --schedule-random -j $env:NUMBER_OF_PROCESSORS |