test wix v5 build #229
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: Continuous Integration | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| strategy: | |
| matrix: | |
| build_configuration: [Release, Debug] | |
| build_platform: [x64, Win32] | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'true' | |
| - name: Add msbuild to PATH | |
| uses: microsoft/setup-msbuild@v2 | |
| - name: Setup NuGet.exe | |
| uses: nuget/setup-nuget@v2 | |
| - name: Restore | |
| working-directory: . | |
| run: nuget restore PythonScript.sln | |
| # - name: Install WiX | |
| # working-directory: PythonScript\project | |
| # run: dotnet add package WixToolset.Heat --version 5.0.2 | |
| - 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: Install WiX | |
| run: dotnet tool install --global wix | |
| - name: Build installer and release zips | |
| if: matrix.build_configuration == 'Release' | |
| working-directory: installer | |
| run: | | |
| $env:PYTHONBUILDDIR_X64='..\packages\python.3.12.8\tools' | |
| $env:PYTHONBUILDDIR='..\packages\pythonx86.3.12.8\tools' | |
| Rename-Item -Path ".\buildPaths.bat.orig" -NewName "buildPaths.bat" | |
| .\buildAll.bat ${{ matrix.build_platform }} |