Skip to content

Commit

Permalink
Merge pull request #850 from openzim/ghaction
Browse files Browse the repository at this point in the history
Use github action to download dependencies
  • Loading branch information
mgautierfr authored Dec 19, 2023
2 parents ff3f44d + f230bb3 commit 1bcb213
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@main
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@main
with:
target_platform: ${{ matrix.target }}

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

0 comments on commit 1bcb213

Please sign in to comment.