-
-
Notifications
You must be signed in to change notification settings - Fork 156
82 lines (70 loc) · 1.92 KB
/
ci.yml
File metadata and controls
82 lines (70 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: CI
on:
pull_request:
push:
branches:
- main
jobs:
Windows:
strategy:
fail-fast: false
matrix:
config:
- native_mixed
runs-on: windows-2025
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup python 3.14
uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Install packages
run: |
choco.exe install pkgconfiglite
- name: Install QT
uses: jurplel/install-qt-action@v4
with:
version: 6.8.3
modules: "qtwebengine qtwebchannel qtpositioning"
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 --version
qmake PREFIX=%cd%\BUILD_win-amd64\INSTALL
nmake release-all
Linux:
strategy:
fail-fast: false
matrix:
image_variant: [noble, resolute]
env:
HOME: /home/runner
runs-on: ubuntu-22.04
container:
image: ghcr.io/kiwix/kiwix-build_ci_${{matrix.image_variant}}:2026-02-15
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@v6
- 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/x86_64-linux-gnu/pkgconfig"
run: |
qmake --version
qmake PREFIX=$HOME/BUILD_linux-x86_64/INSTALL
make