-
-
Notifications
You must be signed in to change notification settings - Fork 107
41 lines (36 loc) · 971 Bytes
/
ci.yml
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
name: CI
on:
pull_request:
push:
branches:
- main
jobs:
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: native_dyn
- name: Retrieve source code
uses: actions/checkout@v3
- name: Compile source code
shell: bash
env:
PKG_CONFIG_PATH: "/home/runner/BUILD_native_dyn/INSTALL/lib/pkgconfig:/home/runner/BUILD_native_dyn/INSTALL/lib${{matrix.lib_postfix}}/pkgconfig"
run: |
qmake PREFIX=$HOME/BUILD_native_dyn/INSTALL
make