Merge pull request #1116 from kiwix/Issue#904-block-non-zim-external-… #1485
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: | |
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@v3 | |
- 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 |