Test #658
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: Build | |
| on: [push, pull_request] | |
| jobs: | |
| build-msbuild-i386: | |
| name: MSBuild (i386) | |
| runs-on: windows-2025-vs2026 | |
| steps: | |
| - name: Install Flex and Bison | |
| run: | | |
| curl -O https://svn.reactos.org/storage/vperevertkin/flexbison.7z | |
| 7z x flexbison.7z -O${{github.workspace}}\bin | |
| echo "${{github.workspace}}\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append | |
| echo "BISON_PKGDATADIR=${{github.workspace}}\bin\share\bison" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append | |
| echo "M4=${{github.workspace}}\bin\m4.exe" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append | |
| - name: Add CL to PATH | |
| uses: ilammy/msvc-dev-cmd@v1 | |
| with: | |
| arch: amd64_x86 | |
| - uses: actions/checkout@v6 | |
| with: | |
| path: src | |
| - name: Configure | |
| run: | | |
| mkdir build | |
| cd build | |
| $GENERATOR = "Visual Studio 17 2022" | |
| if ($env:VisualStudioVersion -ge "18") { $GENERATOR = "Visual Studio 18 2026" } | |
| cmake -G $GENERATOR -A Win32 -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-msvc.cmake -DARCH:STRING=i386 -DENABLE_ROSTESTS=1 -DENABLE_ROSAPPS=1 ${{github.workspace}}\src | |
| - name: Build | |
| run: cmake --build ${{github.workspace}}\build --target bootcd |