Add more missing translations #604
This file contains 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: CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build with ${{ matrix.sanitizer }} sanitizer | |
strategy: | |
fail-fast: false | |
matrix: | |
sanitizer: [no, address, leak, thread, undefined, valgrind] | |
include: | |
- sanitizer: "no" | |
deps: "" | |
configflags: "" | |
config: "" | |
build_env: "" | |
check_env: "" | |
- sanitizer: "address" | |
deps: "" | |
configenv: 'ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes' | |
configflags: '-fsanitize=address -g -Og' | |
config: "" | |
build_env: "" | |
check_env: "ASAN_OPTIONS=detect_leaks=0" | |
- sanitizer: "leak" | |
deps: "" | |
configenv: 'ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes' | |
configflags: '-fsanitize=leak -g -Og' | |
config: "" | |
build_env: "" | |
check_env: "ASAN_OPTIONS=fast_unwind_on_malloc=0 LSAN_OPTIONS=malloc_context_size=24" | |
- sanitizer: "thread" | |
deps: "" | |
configflags: '-fsanitize=thread -g -Og' | |
config: "" | |
build_env: "" | |
check_env: "" | |
- sanitizer: "undefined" | |
deps: "" | |
configflags: '-fsanitize=undefined -g -Og' | |
config: "" | |
build_env: "" | |
check_env: "UBSAN_OPTIONS=halt_on_error=1" | |
- sanitizer: "valgrind" | |
deps: "libtool-bin valgrind" | |
configflags: '-g -Og' | |
config: "" | |
build_env: "" | |
check_env: "" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: dependencies | |
run: sudo apt-get update ; sudo apt-get install autopoint | |
python3 python3-xdg | |
flite1-dev flite | |
libespeak-dev libespeak-ng-dev | |
libttspico-dev | |
libao-dev libasound2-dev libaudio-dev libpulse-dev libpipewire-0.3-dev libxau-dev libsndfile1-dev | |
libdotconf-dev libglib2.0-dev libltdl-dev systemd | |
gettext help2man texinfo texlive texlive-plain-generic | |
pulseaudio ${{ matrix.deps }} | |
- name: install piper | |
run: | | |
wget https://github.com/rhasspy/piper-phonemize/releases/download/v1.0.0/libpiper_phonemize-amd64.tar.gz | |
echo "698358c5362250f315f400468199c40bfff41b56b4e079d4b93bfa67019e2cd28a88d385dd4de79ea24b923272826cf4e4191b81a7b33d3164cb5615b8c66be9 libpiper_phonemize-amd64.tar.gz" | sha512sum --check | |
tar -C /opt -xvf libpiper_phonemize-amd64.tar.gz | |
wget https://github.com/rhasspy/piper/releases/download/v1.2.0/piper_amd64.tar.gz | |
echo "e255e804b7ba1f837ea76d5c3693abf32514dd4ca30239d80d2b5131b5886c76a00a741d405b762658ae4444b90a8a857f7d65f1c25da250d14d705cbc580cc1 piper_amd64.tar.gz" | sha512sum --check | |
tar -C /opt -xvf piper_amd64.tar.gz | |
- name: autoconf | |
run: ./build.sh | |
- name: configure | |
run: ${{ matrix.configenv }} | |
CFLAGS="${{ matrix.configflags }}" | |
CXXFLAGS="${{ matrix.configflags }}" | |
./configure --prefix=/tmp/foobar ${{ matrix.config }} | |
- name: Store the config | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: config-${{ matrix.sanitizer }}.log | |
path: config.log | |
- name: make | |
run: ${{ matrix.build_env }} make | |
- name: make check | |
run: ${{ matrix.check_env }} make check | |
- name: make install | |
run: ${{ matrix.build_env }} sudo make install | |
- name: make testsuite | |
run: ${{ matrix.build_env }} make -C src/tests testsuite | |
- name: run testsuite | |
run: dbus-run-session sh -c '( pulseaudio & cd src/tests ; MALLOC_PERTURB_=1234 ${{ matrix.check_env }} ./testsuite )' | |
if: ${{ matrix.sanitizer != 'valgrind' }} | |
- name: run testsuite | |
run: dbus-run-session sh -c '( pulseaudio & cd src/tests ; libtool --mode=execute valgrind --track-origins=yes --leak-check=full --error-exitcode=1 ./clibrary ; libtool --mode=execute valgrind --track-origins=yes --leak-check=full --error-exitcode=1 ./clibrary2 ; libtool --mode=execute valgrind --track-origins=yes --leak-check=full --error-exitcode=1 ./long_message )' | |
if: ${{ matrix.sanitizer == 'valgrind' }} | |
- name: Store the log | |
if: ${{ failure() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: testsuite-${{ matrix.sanitizer }} | |
path: | | |
src/tests/testsuite.log | |
src/tests/testsuite.dir/*/testsuite.log | |
/home/runner/.cache/speech-dispatcher/log/speech-dispatcher.log | |
- name: make distcheck | |
run: make distcheck | |
if: matrix.sanitizer == 'no' | |
build-noltdl: | |
runs-on: ubuntu-latest | |
name: Build with no ltdl | |
steps: | |
- uses: actions/checkout@v3 | |
- name: dependencies | |
run: sudo apt-get update ; sudo apt-get install autopoint | |
python3 python3-xdg | |
flite1-dev flite | |
libespeak-dev libespeak-ng-dev | |
libttspico-dev | |
libao-dev libasound2-dev libaudio-dev libpulse-dev libpipewire-0.3-dev libxau-dev libsndfile1-dev | |
libdotconf-dev libglib2.0-dev libltdl-dev- libsystemd-dev systemd | |
gettext help2man texinfo texlive texlive-plain-generic | |
pulseaudio | |
- name: autoconf | |
run: ./build.sh | |
- name: configure | |
run: ./configure | |
- name: Store the config | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: config-${{ matrix.sanitizer }}.log | |
path: config.log | |
- name: make | |
run: ${{ matrix.build_env }} make | |
- name: make check | |
run: ${{ matrix.check_env }} make check |