Browse Source

Add libsonic to macOS CI build

master
Yury Popov 2 years ago
parent
commit
8e92ecf91c
2 changed files with 3 additions and 2 deletions
  1. 2
    1
      .github/workflows/ci.yml
  2. 1
    1
      tests/ssml.test

+ 2
- 1
.github/workflows/ci.yml View File

@@ -108,7 +108,8 @@ jobs:
run: sudo apt-get update && sudo apt-get install libpcaudio-dev libsonic-dev ronn kramdown ${{ matrix.deps }} ${{ matrix.archdeps }}
- name: dependencies-brew
if: matrix.os == 'macos-latest'
run: brew install libtool automake ronn OJFord/homebrew-formulae/kramdown ${{ matrix.archdeps }}
run: brew install libtool automake ronn OJFord/homebrew-formulae/kramdown ${{ matrix.archdeps }} ;
brew install --HEAD anarchivist/espeak-ng/waywardgeek-sonic
- name: autoconf
run: ./autogen.sh ; chmod -x INSTALL m4/*.m4
- name: configure

+ 1
- 1
tests/ssml.test View File

@@ -39,7 +39,7 @@ test_ssml() {
for i in `ls tests/ssml/*.ssml` ; do test_ssml $i; done
for i in `ls tests/ssml/*.ssml2` ; do test_ssml $i punct; done

# test_ssml_audio "<prosody>" 88fccb35536158f25f4ae44a03fb005fef95c99b "<speak><prosody rate=\"x-slow\" pitch=\"low\"> Slow and low </prosody><prosody rate=\"x-fast\" pitch=\"x-high\"> Fast and high.</prosody></speak>"
test_ssml_audio "<prosody>" 88fccb35536158f25f4ae44a03fb005fef95c99b "<speak><prosody rate=\"x-slow\" pitch=\"low\"> Slow and low </prosody><prosody rate=\"x-fast\" pitch=\"x-high\"> Fast and high.</prosody></speak>"
# #410 is a bug in SSML. Sentence termination causes prosody stack to misfunction.
# Hash 8d3bace is the buggy version and should fail:
test_ssml_audio "<prosody> bug #410" 8d3bace9548ae73c4770a73c88c6f65e848b45cf "<speak><prosody rate=\"x-slow\" pitch=\"low\"> Slow and low. </prosody><prosody rate=\"x-fast\" pitch=\"x-high\"> Fast and high.</prosody></speak>"

Loading…
Cancel
Save