Skip to content

Kiwix Desktop should be called "Kiwix" for end-users #2138

Kiwix Desktop should be called "Kiwix" for end-users

Kiwix Desktop should be called "Kiwix" for end-users #2138

Workflow file for this run

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 release-all
Linux:
strategy:
fail-fast: false
matrix:
target:
- jammy-qt5
- noble-qt6.4
- oracular-qt6.6
include:
- target: jammy-qt5
image_variant: jammy
lib_postfix: '/x86_64-linux-gnu'
- target: noble-qt6.4
image_variant: noble
lib_postfix: '/x86_64-linux-gnu'
- target: oracular-qt6.6
image_variant: oracular
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}}:2024-12-18
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