Skip to content

Commit

Permalink
using nightly with hack for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Aug 1, 2023
1 parent f938116 commit 197dde2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: test
on: [push]

env:
LIBZIM_DL_VERSION: "8.2.1"
LIBZIM_DL_VERSION: "2023-08-01"

jobs:
lint:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main

env:
LIBZIM_DL_VERSION: "8.2.1"
LIBZIM_DL_VERSION: "2023-08-01"
MACOSX_DEPLOYMENT_TARGET: "11.0"
CIBW_ENVIRONMENT_PASS_LINUX: "LIBZIM_DL_VERSION"
CIBW_BUILD_VERBOSITY: "3"
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ def _download_and_extract(self, filename: str) -> pathlib.Path:
source_url = "http://download.openzim.org/release/libzim"
if self.is_nightly:
source_url = f"http://download.openzim.org/nightly/{self.libzim_dl_version}"
# temp hack
if self.arch == "aarch64" and self.platform == "Linux" and not self.is_musl:
source_url = "http://tmp.kiwix.org/ci"
url = f"{source_url}/{fpath.name}"

# download a local copy if none present
Expand Down

0 comments on commit 197dde2

Please sign in to comment.