New CI export paths

This commit is contained in:
Kovid Goyal 2021-12-19 22:47:06 +05:30
parent c283f85d73
commit a1432c5d9b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 4 additions and 3 deletions

View File

@ -223,7 +223,8 @@ class ExportPackages(Command):
def run(self, opts):
base, bypy = get_paths()
exe = get_exe()
cmd = [exe, bypy, 'export'] + list(opts.cli_args) + ['download.calibre-ebook.com:/srv/download/ci/calibre3']
for which in ('linux', 'macos', 'windows'):
cmd = [exe, bypy, 'export'] + ['download.calibre-ebook.com:/srv/download/ci/calibre6'] + [which]
ret = subprocess.Popen(cmd).wait()
if ret != 0:
raise SystemExit(ret)

View File

@ -139,7 +139,7 @@ def main():
tball = 'macos-64' if ismacos else 'linux-64'
download_and_decompress(
f'https://download.calibre-ebook.com/ci/calibre3/{tball}.tar.xz', SW
f'https://download.calibre-ebook.com/ci/calibre6/{tball}.tar.xz', SW
)
if not ismacos:
install_linux_deps()

View File

@ -33,7 +33,7 @@ def download_file(url):
def sw():
sw = os.environ['SW']
os.chdir(sw)
url = 'https://download.calibre-ebook.com/ci/calibre3/windows-64.tar.xz'
url = 'https://download.calibre-ebook.com/ci/calibre6/windows-64.tar.xz'
tarball = download_file(url)
with tarfile.open(fileobj=io.BytesIO(tarball)) as tf:
tf.extractall()