rgleason / watchdog_pi

watchdog plugin for opencpn
GNU General Public License v3.0
1 stars 10 forks source link

Updated circleci build script, so that it works on local MacOs as well #36

Closed pa2wlt closed 2 years ago

pa2wlt commented 2 years ago

Made some changes so that ci/circleci-build-macos.sh will work locally on osX as well.

The changes come down to 4 things:

  1. Replaced curl by wget, since curl causes issues with Xcode 13.1 and some certificates. Also added a check on the response code.
  2. Removed the usage of pkg_version by find-and-replace, since pkg_version is not available on osX
  3. Added some lines to only extend the path when necessary, to avoid a mess in the local path after running over and over.
  4. Added some lines with extra comments.
pa2wlt commented 2 years ago

15 of the 16 checks failed. The builds for macos failed, since the CLOUDSMITH_API_KEY has not been set in CircleCI. I think I cannot do so, since it is Rick's environment. I did not check the cause of the other failures, though that should be similar since I only changed the macos-buildscript.

rgleason commented 2 years ago

Werner, good job. You are correct, appveyor Windows is the only one that builds due to permissions, but it is our check. You've annotated the changes in line, thank you. Will see what Jon thinks.