Skip to content

Commit

Permalink
Merge pull request #393 from openzim/ghaction
Browse files Browse the repository at this point in the history
Use kiwix-build's github action to download dependencies.
  • Loading branch information
mgautierfr authored Dec 20, 2023
2 parents e1d407b + 24d2b50 commit c6fbe7d
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
- name: Install python modules
run: pip3 install meson==0.49.2 pytest

- name: Install deps
shell: bash
run: |
ARCHIVE_NAME=deps2_macos_native_dyn_zim-tools.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: native_dyn

- name: Compile
shell: bash
Expand Down Expand Up @@ -85,11 +85,10 @@ jobs:
id: extract_branch
- name: Checkout code
uses: actions/checkout@v3
- name: Install deps
shell: bash
run: |
ARCHIVE_NAME=deps2_${OS_NAME}_${{matrix.target}}_zim-tools.tar.xz
wget -O- http://tmp.kiwix.org/ci/${ARCHIVE_NAME} | tar -xJ -C ${{env.HOME}}
- name: Install dependencies
uses: kiwix/kiwix-build/actions/dl_deps_archive@main
with:
target_platform: ${{ matrix.target }}
- name: Compile
shell: bash
run: |
Expand Down

0 comments on commit c6fbe7d

Please sign in to comment.