eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

windows-msbuild.yml 1.4KB

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