Browse Source

CI: cache more in Windows build

patch-4
SomberNight 2 years ago
parent
commit
54e22105b8
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 5
      .cirrus.yml
  2. 4
      contrib/build-wine/make_win.sh

5
.cirrus.yml

@ -159,15 +159,14 @@ task:
- find contrib/deterministic-build/*.txt -type f -print0 | sort -z | xargs -0 sha256sum | sha256sum
- find contrib/build-wine/ -type f -print0 | sort -z | xargs -0 sha256sum | sha256sum
populate_script: mkdir -p contrib/build-wine/.cache/win32/wine_pip_cache
dll_cache:
folder: contrib/build-wine/.cache/win32/dlls
build2_cache:
folder: contrib/build-wine/.cache/win32/build
fingerprint_script:
- echo $CIRRUS_TASK_NAME
- cat contrib/make_libsecp256k1.sh | sha256sum
- cat contrib/make_libusb.sh | sha256sum
- cat contrib/make_zbar.sh | sha256sum
- find contrib/build-wine/ -type f -print0 | sort -z | xargs -0 sha256sum | sha256sum
populate_script: mkdir -p contrib/build-wine/.cache/win32/dlls
build_script:
- cd contrib/build-wine
- ./make_win.sh

4
contrib/build-wine/make_win.sh

@ -23,8 +23,8 @@ export GCC_STRIP_BINARIES="1"
export CONTRIB="$here/.."
export PROJECT_ROOT="$CONTRIB/.."
export CACHEDIR="$here/.cache/$WIN_ARCH"
export PIP_CACHE_DIR="$CACHEDIR/wine_pip_cache"
export CACHEDIR="$here/.cache/$WIN_ARCH/build"
export PIP_CACHE_DIR="$here/.cache/$WIN_ARCH/wine_pip_cache"
export WINE_PIP_CACHE_DIR="c:/electrum/contrib/build-wine/.cache/$WIN_ARCH/wine_pip_cache"
export DLL_TARGET_DIR="$CACHEDIR/dlls"

Loading…
Cancel
Save