Skip to content

Commit

Permalink
Install dependencies using kiwix-build's github action.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgautierfr committed Dec 19, 2023
1 parent ff3f44d commit a20bae5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
- name: Install python modules
run: pip3 install meson pytest

- name: Install deps
shell: bash
run: |
ARCHIVE_NAME=deps2_macos_${{matrix.target}}_libzim.tar.xz
wget -O- http://tmp.kiwix.org/ci/${ARCHIVE_NAME} | tar -xJ -C $HOME
- name: Install dependencies
uses: kiwix/kiwix-build/actions/dl_deps_archive@download_deps_action
with:
os_name: macos
target_platform: ${{ matrix.target }}

- name: Compile
shell: bash
Expand Down Expand Up @@ -152,11 +152,11 @@ jobs:
image: "ghcr.io/kiwix/kiwix-build_ci_${{matrix.image_variant}}:2023-10-30"

steps:
- name: Install dependences
- name: Install dependencies
if: false == startsWith(matrix.target, 'alpine_')
run: |
ARCHIVE_NAME=deps2_${OS_NAME}_${{matrix.target}}_libzim.tar.xz
wget -O- http://tmp.kiwix.org/ci/${ARCHIVE_NAME} | tar -xJ -C ${{env.HOME}}
uses: kiwix/kiwix-build/actions/dl_deps_archive@download_deps_action
with:
target_platform: ${{ matrix.target }}

- name: Retrieve source code
uses: actions/checkout@v3
Expand Down

0 comments on commit a20bae5

Please sign in to comment.