From 8d90f2cc1ba662e3b417df84be0c95b77319847b Mon Sep 17 00:00:00 2001 From: greenart7c3 Date: Fri, 2 Oct 2026 07:13:47 -0300 Subject: [PATCH] ci: build the standalone app image for the Linux smoke test packageDeb/packageRpm build from a temporary app image, so binaries/main/app/Amber didn't exist and the smoke test failed with 'not found'. Run createDistributable first and launch it by absolute path. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/desktop.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/desktop.yml b/.github/workflows/desktop.yml index ed6f7b38..5bb809eb 100644 --- a/.github/workflows/desktop.yml +++ b/.github/workflows/desktop.yml @@ -116,9 +116,13 @@ jobs: - name: Smoke test packaged app if: runner.os == 'Linux' run: | + # packageDeb/Rpm build from a temporary app image; build the + # standalone one to launch. + ./gradlew :desktop:createDistributable --no-daemon + AMBER="$PWD/desktop/build/compose/binaries/main/app/Amber/bin/Amber" export HOME="$RUNNER_TEMP/amber-home" AMBER_DISABLE_TRAY=1 mkdir -p "$HOME" - xvfb-run -a desktop/build/compose/binaries/main/app/Amber/bin/Amber > "$RUNNER_TEMP/amber.log" 2>&1 & + xvfb-run -a "$AMBER" > "$RUNNER_TEMP/amber.log" 2>&1 & sleep 30 cat "$RUNNER_TEMP/amber.log" pgrep -f 'binaries/main/app/Amber/bin/Amber' > /dev/null || { echo "::error::Amber exited during startup"; exit 1; }