Use brighter green color for Defusing Alert #89
This file contains 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: windows-2022 | |
strategy: | |
matrix: | |
toolset: [ClangCL, MSVC] | |
configuration: [Debug, Release] | |
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=x64 /p:Configuration=${{ matrix.configuration }} ${{ env.toolset }} | |
cmake: | |
runs-on: windows-2022 | |
strategy: | |
matrix: | |
toolset: [ClangCL, MSVC] | |
configuration: [Debug, Release] | |
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 -Werror=dev -D BUILD_TESTS=1 -A x64 ${{ env.toolset }} -B build | |
- name: build | |
run: cmake --build build --config ${{ matrix.configuration }} | |
- name: run unit tests | |
run: ctest --test-dir build --output-on-failure --schedule-random -j $env:NUMBER_OF_PROCESSORS |