CI-windows.yml: removed windows-2019 and added windows-2025
#660
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
| # Some convenient links: | |
| # - https://github.com/actions/virtual-environments/blob/master/images/win/Windows2019-Readme.md | |
| # | |
| name: CI-windows | |
| on: [push,pull_request] | |
| defaults: | |
| run: | |
| shell: cmd | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: [windows-2022, windows-2025] | |
| config: [Release, Debug] | |
| fail-fast: false | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup msbuild.exe | |
| uses: microsoft/setup-msbuild@v2 | |
| - name: Run CMake | |
| run: | | |
| cmake -G "Visual Studio 17 2022" -A x64 . || exit /b !errorlevel! | |
| - name: Build | |
| run: | | |
| msbuild -m simplecpp.sln /p:Configuration=${{ matrix.config }} /p:Platform=x64 || exit /b !errorlevel! | |
| - name: Test | |
| run: | | |
| .\${{ matrix.config }}\testrunner.exe || exit /b !errorlevel! | |
| - name: Selfcheck | |
| run: | | |
| .\${{ matrix.config }}\simplecpp.exe simplecpp.cpp -e || exit /b !errorlevel! | |