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.

dist.yml 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. name: Dist
  2. on:
  3. workflow_dispatch:
  4. push:
  5. branches: [ master ]
  6. pull_request:
  7. branches: [ master ]
  8. env:
  9. deps: cmake libpcaudio-dev libsonic-dev ronn kramdown python3
  10. jobs:
  11. reprotest:
  12. runs-on: ubuntu-latest
  13. name: Build with reprotest on ${{ matrix.arch }}
  14. strategy:
  15. fail-fast: false
  16. matrix:
  17. arch: [x86-64, x86-32]
  18. include:
  19. - arch: x86-32
  20. archdeps: "gcc-multilib g++-multilib libpcaudio-dev:i386 libsonic-dev:i386 libc6-dbg:i386 libgcc-s1:i386"
  21. archconfigflags: "-m32"
  22. - arch: x86-64
  23. archdeps: ""
  24. archconfigflags: ''
  25. steps:
  26. - uses: actions/checkout@v4
  27. - uses: firebuild/apt-eatmydata-action@v1
  28. - name: enable 32bit architecture
  29. run: sudo dpkg --add-architecture i386
  30. if: matrix.arch == 'x86-32'
  31. - name: dependencies
  32. run: sudo apt-get update && sudo apt-get install ${{ env.deps }} reprotest ${{ matrix.archdeps }}
  33. - name: run
  34. run: reprotest --vary=-user_group --vary=-domain_host 'CFLAGS="${{ matrix.archconfigflags }}" CXXFLAGS="${{ matrix.archconfigflags }}" rm -rf build && cmake -Bbuild -DUSE_ASYNC:BOOL=OFF && cmake --build build && ctest --test-dir build -T test -j1 --output-on-failure && touch success' success
  35. distcheck:
  36. runs-on: ubuntu-latest
  37. name: Run distcheck
  38. steps:
  39. - uses: actions/checkout@v4
  40. - uses: firebuild/apt-eatmydata-action@v1
  41. - name: dependencies
  42. run: sudo apt-get update && sudo apt-get install ${{ env.deps }}
  43. - name: configure
  44. run: cmake -Bbuild -DUSE_ASYNC:BOOL=OFF
  45. - name: make
  46. run: cmake --build build
  47. - name: make check
  48. run: ctest --test-dir build -T test -j8 --output-on-failure
  49. - name: make package_source
  50. run: cmake --build build --target package_source
  51. - name: unpack
  52. run: mkdir unpack && tar -C unpack -xf build/espeak-ng-*-Source.tar.bz2
  53. - name: re-configure
  54. run: cd unpack/espeak-ng-* && cmake -Bbuild -DUSE_ASYNC:BOOL=OFF
  55. - name: re-make
  56. run: cd unpack/espeak-ng-* && cmake --build build
  57. - name: re-make check
  58. run: cd unpack/espeak-ng-* && ctest --test-dir build -T test -j8 --output-on-failure