Skip to content

Commit

Permalink
Use github action to download deps on all job
Browse files Browse the repository at this point in the history
  • Loading branch information
mgautierfr committed Dec 1, 2023
1 parent 07b6adb commit 38dbec0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 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 dependences
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 @@ -178,9 +178,9 @@ jobs:
steps:
- name: Install dependences
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 38dbec0

Please sign in to comment.