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.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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@v3
  27. - name: enable 32bit architecture
  28. run: sudo dpkg --add-architecture i386
  29. if: matrix.arch == 'x86-32'
  30. - name: dependencies
  31. run: sudo apt-get update && sudo apt-get install ${{ env.deps }} reprotest ${{ matrix.archdeps }}
  32. - name: run
  33. run: reprotest 'CFLAGS="${{ matrix.archconfigflags }}" CXXFLAGS="${{ matrix.archconfigflags }}" rm -rf build && cmake -Bbuild -DUSE_ASYNC:BOOL=OFF && cmake --build build && ctest --test-dir build -Ttest -j1 --output-on-failure && touch success' success
  34. distcheck:
  35. runs-on: ubuntu-latest
  36. name: Run distcheck
  37. steps:
  38. - uses: actions/checkout@v3
  39. - name: dependencies
  40. run: sudo apt-get update && sudo apt-get install ${{ env.deps }}
  41. - name: configure
  42. run: cmake -Bbuild -DUSE_ASYNC:BOOL=OFF
  43. - name: make
  44. run: cmake --build build
  45. - name: make check
  46. run: ctest --test-dir build -Ttest -j8 --output-on-failure
  47. - name: make package_source
  48. run: cmake --build build --target package_source
  49. - name: unpack
  50. run: mkdir unpack && tar -C unpack -xf build/espeak-ng-*-Source.tar.bz2
  51. - name: re-configure
  52. run: cd unpack/espeak-ng-* && cmake -Bbuild -DUSE_ASYNC:BOOL=OFF
  53. - name: re-make
  54. run: cd unpack/espeak-ng-* && cmake --build build
  55. - name: re-make check
  56. run: cd unpack/espeak-ng-* && ctest --test-dir build -Ttest -j8 --output-on-failure