mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-11 21:44:19 -04:00
Update CI to use the last version of docker image and dependencies.
This commit is contained in:
parent
d9d06eaf71
commit
6ecdc40b48
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@ -8,26 +8,17 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Linux:
|
Linux:
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
target:
|
|
||||||
- focal
|
|
||||||
include:
|
|
||||||
- target: focal
|
|
||||||
image_variant: focal
|
|
||||||
lib_postfix: '/x86_64-linux-gnu'
|
|
||||||
env:
|
env:
|
||||||
HOME: /home/runner
|
HOME: /home/runner
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/kiwix/kiwix-build_ci_${{matrix.image_variant}}:38
|
image: ghcr.io/kiwix/kiwix-build_ci_bionic:38
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
ARCHIVE_NAME=deps2_focal_native_dyn_kiwix-desktop.tar.xz
|
ARCHIVE_NAME=deps2_bionic_native_dyn_kiwix-desktop.tar.xz
|
||||||
wget -O- http://tmp.kiwix.org/ci/${ARCHIVE_NAME} | tar -xJ -C ${{env.HOME}}
|
wget -O- http://tmp.kiwix.org/ci/${ARCHIVE_NAME} | tar -xJ -C ${{env.HOME}}
|
||||||
|
|
||||||
- name: Retrieve source code
|
- name: Retrieve source code
|
||||||
@ -36,7 +27,7 @@ jobs:
|
|||||||
- name: Compile source code
|
- name: Compile source code
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
PKG_CONFIG_PATH: "/home/runner/BUILD_native_dyn/INSTALL/lib/pkgconfig:/home/runner/BUILD_native_dyn/INSTALL/lib${{matrix.lib_postfix}}/pkgconfig"
|
PKG_CONFIG_PATH: "/home/runner/BUILD_native_dyn/INSTALL/lib/pkgconfig:/home/runner/BUILD_native_dyn/INSTALL/lib/x86_64-linux-gnu/pkgconfig"
|
||||||
run: |
|
run: |
|
||||||
qmake PREFIX=$HOME/BUILD_native_dyn/INSTALL
|
qmake PREFIX=$HOME/BUILD_native_dyn/INSTALL
|
||||||
make
|
make
|
||||||
|
Loading…
x
Reference in New Issue
Block a user