From 62edd232861a0332e2a7d516bff8f3bd0b07de8d Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Mon, 11 Dec 2023 10:58:19 +0000 Subject: [PATCH] Improve CI build logging slightly, to try and figure out why maxim-lobanov/setup-code@v1 is succeeding, yet failing somehow, to set 15.0.1 as our default Xcode --- scripts/build.sh | 2 +- scripts/github-ci-testbuild.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 64c054086..9ccc1c567 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -268,9 +268,9 @@ export DOCS_LINT_ONLY export INSTALLDEPS_FULL # Early sanity checks that we have everything we need, starting with Xcode as the default Developer path +echo "Current Developer path is: $(xcode-select -p)" if [[ "$(xcode-select -p)" != *"Xcode"* ]]; then echo "ERROR: Your active Developer directory is not pointing at Xcode.app. You will need Xcode to build ${APP_NAME}." - echo "Current Developer path is: $(xcode-select -p)" echo "You can change this with: sudo xcode-select -s /path/to/Xcode.app" exit 1 fi diff --git a/scripts/github-ci-testbuild.sh b/scripts/github-ci-testbuild.sh index 1a593d2eb..9553d04db 100755 --- a/scripts/github-ci-testbuild.sh +++ b/scripts/github-ci-testbuild.sh @@ -8,7 +8,7 @@ export IS_CI=1 mkdir -p artifacts -./scripts/build.sh build -s Release -d -e -x "Hammerspoon/Build Configs/Hammerspoon-Test.xcconfig" +./scripts/build.sh build -s Release -d -e -x "Hammerspoon/Build Configs/Hammerspoon-Test.xcconfig" || true # Note that even though we're building with the Release scheme, the above build actually uses the Debug configuration, so the output log is Debug-build.log mv build/Debug-build.log artifacts/build.log