From bd289c33723edcbf54dbd8f835ee4a0acaf81296 Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Tue, 7 Jan 2025 16:53:35 +0100 Subject: [PATCH] symlink linux --- .github/workflows/pr_test_build_linux.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_test_build_linux.yml b/.github/workflows/pr_test_build_linux.yml index 79547902de..6fffec5f68 100644 --- a/.github/workflows/pr_test_build_linux.yml +++ b/.github/workflows/pr_test_build_linux.yml @@ -145,9 +145,17 @@ jobs: ./prepare_moneroc.sh popd mkdir -p $MONEROC_CACHE_DIR_ROOT/{monero/,wownero/,}contrib/depends/built || true - ln -s "$MONEROC_CACHE_DIR_ROOT/contrib/depends/built" "$PWD/contrib/depends/built" || true - ln -s "$MONEROC_CACHE_DIR_ROOT/monero/contrib/depends/built" "$PWD/monero/contrib/depends/built" || true - ln -s "$MONEROC_CACHE_DIR_ROOT/wownero/contrib/depends/built" "$PWD/wownero/contrib/depends/built" || true + pushd scripts/monero_c + mkdir -p "$MONEROC_CACHE_DIR_ROOT/_cache/contrib/depends/built" + mkdir -p "$MONEROC_CACHE_DIR_ROOT/_cache/monero/contrib/depends/built" + mkdir -p "$MONEROC_CACHE_DIR_ROOT/_cache/wownero/contrib/depends/built" + + rm -rf "$PWD/contrib/depends/built" "$PWD/monero/contrib/depends/built" "$PWD/wownero/contrib/depends/built" + + ln -sf "$MONEROC_CACHE_DIR_ROOT/_cache/contrib/depends/built" "$PWD/contrib/depends/built" + ln -sf "$MONEROC_CACHE_DIR_ROOT/_cache/monero/contrib/depends/built" "$PWD/monero/contrib/depends/built" + ln -sf "$MONEROC_CACHE_DIR_ROOT/_cache/wownero/contrib/depends/built" "$PWD/wownero/contrib/depends/built" + popd - name: Execute Build and Setup Commands run: |