avoid build issues with runner image 2025_VS2026 and v143 #573
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: Continuous Integration | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: windows-2022 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| build_configuration: [Release, Debug] | |
| build_platform: [x64, Win32, ARM64] | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v7 | |
| with: | |
| submodules: 'true' | |
| - name: Add msbuild to PATH | |
| uses: microsoft/setup-msbuild@v3 | |
| - name: Setup NuGet.exe | |
| uses: nuget/setup-nuget@v4 | |
| - name: Restore | |
| working-directory: . | |
| run: nuget restore PythonScript.sln | |
| - name: MSBuild of solution | |
| working-directory: . | |
| run: msbuild PythonScript.sln /m /verbosity:minimal /p:configuration="${{ matrix.build_configuration }}" /p:platform="${{ matrix.build_platform }}" | |
| - name: Build docs | |
| if: matrix.build_configuration == 'Release' | |
| working-directory: docs | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -U sphinx | |
| .\make.bat html | |
| - name: Build installer and release zips | |
| if: matrix.build_configuration == 'Release' | |
| working-directory: installer | |
| run: | | |
| $env:PYTHONBUILDDIR_ARM64='${{ github.workspace }}\packages\pythonarm64.3.14.5\tools' | |
| $env:PYTHONBUILDDIR_X64='${{ github.workspace }}\packages\python.3.14.5\tools' | |
| $env:PYTHONBUILDDIR='${{ github.workspace }}\packages\pythonx86.3.14.5\tools' | |
| Rename-Item -Path ".\buildPaths.bat.orig" -NewName "buildPaths.bat" | |
| dotnet tool install --global wix --version 7.0.0 | |
| .\buildAll.bat ${{ matrix.build_platform }} |