Skip to content

Commit

Permalink
Improve CI build logging slightly, to try and figure out why maxim-lo…
Browse files Browse the repository at this point in the history
…banov/setup-code@v1 is succeeding, yet failing somehow, to set 15.0.1 as our default Xcode
  • Loading branch information
cmsj committed Dec 11, 2023
1 parent 4130299 commit 62edd23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/github-ci-testbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 62edd23

Please sign in to comment.