Skip to content

Commit 5769877

Browse files
revertimos actions
1 parent fa7cf74 commit 5769877

File tree

2 files changed

+16
-58
lines changed

2 files changed

+16
-58
lines changed

.github/workflows/betube32.yml

Lines changed: 8 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,11 @@ on:
1111
jobs:
1212
build:
1313
runs-on: windows-latest
14-
strategy:
15-
fail-fast: false
16-
matrix:
17-
arch: [Win32]
18-
config: [Release]
19-
link: [dll]
20-
21-
include:
22-
- link: dll
23-
shlib: "ON"
2414

2515
steps:
2616
- name: Source checkout
2717
uses: actions/checkout@v3
28-
with:
29-
repository: rmcpantoja/espeak-ng
30-
path: espeak-ng
31-
- name: configure-espeak
32-
run: cd espeak-ng && cmake -Bbuild -DUSE_ASYNC:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shlib }} -A ${{ matrix.arch }} -DUSE_MBROLA:BOOL=OFF -DUSE_LIBSONIC:BOOL=OFF -DUSE_LIBPCAUDIO:BOOL=OFF -DUSE_KLATT:BOOL=OFF -DUSE_SPEECHPLAYER:BOOL=OFF -DEXTRA_cmn:BOOL=ON -DEXTRA_ru:BOOL=ON
33-
- name: make-espeak
34-
run: cd espeak-ng && cmake --build build --config ${{ matrix.config }}
35-
- uses: actions/checkout@v3
36-
with:
37-
path: VeTube
18+
3819
- name: Configure Python
3920
uses: actions/setup-python@v4
4021
with:
@@ -45,32 +26,30 @@ jobs:
4526
run: |
4627
pip install --upgrade pip wheel setuptools
4728
pip install Pillow==9.5.0
48-
pip install -r VeTube/requirements.txt
29+
pip install -r requirements.txt
4930
pip install pyinstaller gdown
5031
pip install --upgrade pyzmq httpx httpcore future
32+
git clone https://github.com/mush42/espeak-phonemizer-windows
5133
5234
- name: Compiling
5335
run: |
54-
cd VeTube
5536
pyinstaller VeTube.py --windowed
5637
gdown 1ZtF6zus0A7kC9Lwr_kTUbw0MiOoZq29H -O dist/VeTube/bootstrap.exe
5738
cp -R chat_downloader dist/VeTube/
5839
cp -R doc dist/VeTube/
5940
cp -R locales dist/VeTube/
6041
cp -R sounds dist/VeTube/
61-
mkdir dist/VeTube/espeak-ng
62-
cp -R ../espeak-ng/build/src/release/espeak-ng.dll dist/VeTube/espeak-ng
63-
cp -R ../espeak-ng/build/espeak-ng-data dist/VeTube/espeak-ng
42+
cp -R espeak-phonemizer-windows/espeak_phonemizer dist/VeTube/
6443
- uses: actions/upload-artifact@v3
6544
with:
6645
name: VeTube-x86
67-
path: VeTube/dist/VeTube
46+
path: dist/VeTube
6847
if-no-files-found: error
6948
- name: zip packaging
7049
run: |
71-
cd VeTube/dist/VeTube
72-
7z a ../../../VeTube-x86.zip .
73-
cd ../../../
50+
cd dist/VeTube
51+
7z a ../../VeTube-x86.zip .
52+
cd ../../
7453
- name: vetube_release
7554
uses: softprops/action-gh-release@v1
7655
if: ${{ startsWith(github.ref, 'refs/tags/') }}

.github/workflows/betube64.yml

Lines changed: 8 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,11 @@ on:
1111
jobs:
1212
build:
1313
runs-on: windows-latest
14-
strategy:
15-
fail-fast: false
16-
matrix:
17-
arch: [x64]
18-
config: [Release]
19-
link: [dll]
20-
21-
include:
22-
- link: dll
23-
shlib: "ON"
2414

2515
steps:
2616
- name: Source checkout
2717
uses: actions/checkout@v3
28-
with:
29-
repository: rmcpantoja/espeak-ng
30-
path: espeak-ng
31-
- name: configure-espeak
32-
run: cd espeak-ng && cmake -Bbuild -DUSE_ASYNC:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shlib }} -A ${{ matrix.arch }} -DUSE_MBROLA:BOOL=OFF -DUSE_LIBSONIC:BOOL=OFF -DUSE_LIBPCAUDIO:BOOL=OFF -DUSE_KLATT:BOOL=OFF -DUSE_SPEECHPLAYER:BOOL=OFF -DEXTRA_cmn:BOOL=ON -DEXTRA_ru:BOOL=ON
33-
- name: make-espeak
34-
run: cd espeak-ng && cmake --build build --config ${{ matrix.config }}
35-
- uses: actions/checkout@v3
36-
with:
37-
path: VeTube
18+
3819
- name: Configure Python
3920
uses: actions/setup-python@v4
4021
with:
@@ -44,32 +25,30 @@ jobs:
4425
- name: Install dependencies
4526
run: |
4627
pip install --upgrade pip wheel setuptools
47-
pip install -r VeTube/requirements.txt
28+
pip install -r requirements.txt
4829
pip install pyinstaller gdown
4930
pip install --upgrade pyzmq httpx httpcore future
31+
git clone https://github.com/mush42/espeak-phonemizer-windows
5032
5133
- name: Compiling
5234
run: |
53-
cd VeTube
5435
pyinstaller VeTube.py --windowed
5536
gdown 1ZtF6zus0A7kC9Lwr_kTUbw0MiOoZq29H -O dist/VeTube/bootstrap.exe
5637
cp -R chat_downloader dist/VeTube/
5738
cp -R doc dist/VeTube/
5839
cp -R locales dist/VeTube/
5940
cp -R sounds dist/VeTube/
60-
mkdir dist/VeTube/espeak-ng
61-
cp -R ../espeak-ng/build/src/release/espeak-ng.dll dist/VeTube/espeak-ng
62-
cp -R ../espeak-ng/build/espeak-ng-data dist/VeTube/espeak-ng
41+
cp -R espeak-phonemizer-windows/espeak_phonemizer dist/VeTube/
6342
- uses: actions/upload-artifact@v3
6443
with:
6544
name: VeTube-x64
66-
path: VeTube/dist/VeTube
45+
path: dist/VeTube
6746
if-no-files-found: error
6847
- name: zip packaging
6948
run: |
70-
cd VeTube/dist/VeTube
71-
7z a ../../../VeTube-x64.zip .
72-
cd ../../../
49+
cd dist/VeTube
50+
7z a ../../VeTube-x64.zip .
51+
cd ../../
7352
- name: vetube_release
7453
uses: softprops/action-gh-release@v1
7554
if: ${{ startsWith(github.ref, 'refs/tags/') }}

0 commit comments

Comments
 (0)