Implement Basic Text to Speech #2022
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: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
Windows: | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- native_mixed | |
runs-on: windows-2022 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
- name: Install packages | |
run: | | |
choco.exe install pkgconfiglite | |
- name: Install QT | |
uses: jurplel/install-qt-action@v4 | |
with: | |
version: 5.15.2 | |
modules: "qtwebengine" | |
setup-python: false | |
- name: Setup MSVC compiler | |
uses: bus1/cabuild/action/msdevshell@v1 | |
with: | |
architecture: x64 | |
- name: Install dependencies | |
uses: kiwix/kiwix-build/actions/dl_deps_archive@main | |
with: | |
target_platform: win-x86_64-mixed | |
- name: Compile | |
shell: cmd | |
run: | | |
set PKG_CONFIG_PATH=%cd%\BUILD_win-amd64\INSTALL\lib\pkgconfig | |
qmake PREFIX=%cd%\BUILD_win-amd64\INSTALL | |
nmake debug-all | |
Linux: | |
strategy: | |
fail-fast: false | |
matrix: | |
target: | |
- focal | |
include: | |
- target: focal | |
image_variant: focal | |
lib_postfix: '/x86_64-linux-gnu' | |
env: | |
HOME: /home/runner | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/kiwix/kiwix-build_ci_${{matrix.image_variant}}:38 | |
steps: | |
- name: Install dependencies | |
uses: kiwix/kiwix-build/actions/dl_deps_archive@main | |
with: | |
target_platform: linux-x86_64-dyn | |
- name: Retrieve source code | |
uses: actions/checkout@v4 | |
- name: Compile source code | |
shell: bash | |
env: | |
PKG_CONFIG_PATH: "/home/runner/BUILD_linux-x86_64/INSTALL/lib/pkgconfig:/home/runner/BUILD_linux-x86_64/INSTALL/lib${{matrix.lib_postfix}}/pkgconfig" | |
run: | | |
qmake PREFIX=$HOME/BUILD_linux-x86_64/INSTALL | |
make |