Debian Codegraph @

.github/workflows/windows-msbuild.yml

raw symbols SCIP
1 name: windows-msbuild
2
3 on:
4 workflow_dispatch:
5 push:
6 branches: [master]
7 pull_request:
8 branches: [master]
9
10 jobs:
11 build:
12 runs-on: windows-latest
13 name: "build: ${{ matrix.config }}"
14 strategy:
15 fail-fast: false
16 matrix:
17 config: [Debug, Release]
18
19 steps:
20 - name: Setup MSBuild
21 uses: microsoft/setup-msbuild@v2
22 - name: Install Windows 8.1 SDK
23 shell: powershell
24 run: |
25 Invoke-WebRequest -Method Get -Uri https://go.microsoft.com/fwlink/p/?LinkId=323507 -OutFile sdksetup.exe -UseBasicParsing
26 Start-Process -Wait sdksetup.exe -ArgumentList "/q", "/norestart", "/features", "OptionId.WindowsDesktopSoftwareDevelopmentKit", "OptionId.NetFxSoftwareDevelopmentKit"
27 - name: Install WiX
28 run: dotnet tool install --global wix
29 - name: Checkout repo
30 uses: actions/checkout@v4
31 - name: Checkout pcaudiolib
32 uses: actions/checkout@v4
33 with:
34 repository: "espeak-ng/pcaudiolib"
35 path: "src/pcaudiolib"
36 - name: Do build
37 working-directory: "src/windows"
38 run: msbuild espeak-ng.sln /p:Configuration=${{ matrix.config }} /p:Platform=x64
39 - name: Upload MSI installer
40 uses: actions/upload-artifact@v4
41 with:
42 name: windows-${{ matrix.config }}-msi
43 path: "src/windows/installer/bin/x64/${{ matrix.config }}/espeak-ng.msi"