File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 26
26
run : |
27
27
sudo apt-get update
28
28
sudo apt-get install build-essential ffmpeg
29
+
30
+ sudo apt-get install -y ca-certificates cmake curl patch
31
+ sudo apt-get install -y libopencv-dev && sudo ln -s /usr/include/opencv4/opencv2 /usr/include/opencv2
32
+
33
+ sudo mkdir /build && sudo chmod -R 777 /build && cd /build && \
34
+ PIPER_PHONEMIZE_VERSION='1.0.0' SPDLOG_VERSION="1.11.0" \
35
+ curl -L "https://github.com/gabime/spdlog/archive/refs/tags/v${SPDLOG_VERSION}.tar.gz" | \
36
+ tar -xzvf - && \
37
+ mkdir -p "spdlog-${SPDLOG_VERSION}/build" && \
38
+ cd "spdlog-${SPDLOG_VERSION}/build" && \
39
+ cmake .. && \
40
+ make -j8 && \
41
+ sudo cmake --install . --prefix /usr && mkdir -p "lib/Linux-$(uname -m)" && \
42
+ cd /build && \
43
+ mkdir -p "lib/Linux-$(uname -m)/piper_phonemize" && \
44
+ curl -L "https://github.com/rhasspy/piper-phonemize/releases/download/v${PIPER_PHONEMIZE_VERSION}/libpiper_phonemize-${TARGETARCH:-$(go env GOARCH)}${TARGETVARIANT}.tar.gz" | \
45
+ tar -C "lib/Linux-$(uname -m)/piper_phonemize" -xzvf - && ls -liah /build/lib/Linux-$(uname -m)/piper_phonemize/ && \
46
+ sudo cp -rfv /build/lib/Linux-$(uname -m)/piper_phonemize/lib/. /lib64/ && \
47
+ sudo cp -rfv /build/lib/Linux-$(uname -m)/piper_phonemize/lib/. /usr/lib/ && \
48
+ sudo cp -rfv /build/lib/Linux-$(uname -m)/piper_phonemize/include/. /usr/include/
49
+
29
50
- name : Test
30
51
run : |
31
- make test
52
+ ESPEAK_DATA="/build/lib/Linux-$(uname -m)/piper_phonemize/lib/espeak-ng-data" GO_TAGS="tts stablediffusion" make test
32
53
33
54
macOS-latest :
34
55
runs-on : macOS-latest
You can’t perform that action at this time.
0 commit comments