From 7bd9cde2f678aa0eac9c5a7c7c7baa320d284889 Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Wed, 8 Nov 2023 11:49:05 +0100 Subject: [PATCH] Can we see what is and is not working please --- buildall.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/buildall.sh b/buildall.sh index c14b2e1..b847e05 100644 --- a/buildall.sh +++ b/buildall.sh @@ -4,7 +4,7 @@ export FS_DIR_CACHE_ROOT="/data/.cache/fs-dir-cache" # directory to hold all cac export FS_DIR_CACHE_LOCK_ID="pid-$$-rnd-$RANDOM" # acquire lock based on the current pid and something random (just in case pid gets reused) export FS_DIR_CACHE_KEY_NAME="build-project-x" # the base name of our key export FS_DIR_CACHE_LOCK_TIMEOUT_SECS="3600" # unlock after timeout (1h) in case our job fails misereably -cargo install fs-dir-cache +#cargo install fs-dir-cache mkdir -p app @@ -28,8 +28,20 @@ for i in $(seq 0 $(expr $(jq '. | length' < apps.json) - 1)); do #fs-dir-cache gc unused --seconds "$((7 * 24 * 60 * 60))" # delete caches not used in more than a week #cache_dir=$(fs-dir-cache lock --key-file Cargo.toml) #trap "fs-dir-cache unlock --dir ${cache_dir}" EXIT - cargo tauri build --target-dir="${cache_dir}/target" + echo "===================" + echo "Building linux" + echo "> cargo tauri build" + echo "===================" + cargo tauri build + echo "===================================================" + echo "Building windows" + echo "> cargo tauri build --target x86_64-pc-windows-msvc" + echo "===================================================" cargo tauri build --target x86_64-pc-windows-msvc + echo "================================================" + echo "Building apple" + echo "> cargo tauri build --target x86_64-apple-darwin" + echo "================================================" cargo tauri build --target x86_64-apple-darwin cd .. cd ..