cirrus: download and unpack extras too

This commit is contained in:
jj
2025-09-22 21:09:15 +00:00
parent 44155aff41
commit 7b5e85c9c7

View File

@@ -36,6 +36,7 @@ validate_with_source_task:
rm -rf chromium_download_cache rm -rf chromium_download_cache
mkdir chromium_download_cache mkdir chromium_download_cache
# Attempt to download tarball # Attempt to download tarball
./utils/downloads.py retrieve -i extras.ini -c chromium_download_cache &
if ! ./utils/downloads.py retrieve -i downloads.ini -c chromium_download_cache ; then if ! ./utils/downloads.py retrieve -i downloads.ini -c chromium_download_cache ; then
# If tarball is not available, attempt a clone # If tarball is not available, attempt a clone
./utils/clone.py -o chromium_src ./utils/clone.py -o chromium_src
@@ -44,9 +45,12 @@ validate_with_source_task:
tar cf chromium_download_cache/chromium-$(cat chromium_version.txt)-lite.tar.xz \ tar cf chromium_download_cache/chromium-$(cat chromium_version.txt)-lite.tar.xz \
--transform s/chromium_src/chromium-$(cat chromium_version.txt)/ chromium_src --transform s/chromium_src/chromium-$(cat chromium_version.txt)/ chromium_src
fi fi
wait
unpack_source_script: | unpack_source_script: |
if [ ! -d chromium_src ]; then if [ ! -d chromium_src ]; then
./utils/downloads.py unpack -i downloads.ini -c chromium_download_cache chromium_src for file in downloads extras; do
./utils/downloads.py unpack -i $file.ini -c chromium_download_cache chromium_src
done
fi fi
validate_patches_script: validate_patches_script:
- ./devutils/validate_patches.py -l chromium_src -v - ./devutils/validate_patches.py -l chromium_src -v