forked from jongough/testplugin_pi
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
They are both using xcode 15.4.0
WR Script for MacOS similar to Testplugin
build-macos-universal:
macos:
xcode: 15.4.0
environment:
OCPN_TARGET: macos
CMAKE_BUILD_PARALLEL_LEVEL: 2
WX_VER: 32
DEPLOY_USE_ORB: false
INSTALL_PYTHON: false
steps:
- checkout
- run: sudo chmod go+w /usr/local
- restore_cache:
key: "{{checksum \"build-deps/macos-cache-stamp\"}}\
-{{checksum \"cmake/MacosWxwidgets.cmake\"}}\
-{{checksum \"ci/circleci-build-macos-universal.sh\"}}"
- run: chmod a+x ci/*.sh
- run: chmod a+x cmake/*.sh
- run: ci/circleci-build-macos-universal.sh
- save_cache:
key: "{{checksum \"build-deps/macos-cache-stamp\"}}\
-{{checksum \"cmake/MacosWxwidgets.cmake\"}}\
-{{checksum \"ci/circleci-build-macos-universal.sh\"}}"
paths:
- /tmp/local.cache.tar
- /Users/distiller/project/cache
- run: >
sh -c "otool -L build/*.dylib"
- run: >
sh -c "cat build/*.xml"
- deploy-code:
deploy_use_orb: false
install_python: false
Pavel is using this script which does seem to build
build-macos:
macos:
xcode: "15.4.0"
environment:
- OCPN_TARGET: macos
- CMAKE_BUILD_PARALLEL_LEVEL: 2
steps:
- checkout
- run: sudo chmod go+w /usr/local
- restore_cache:
key: "{{checksum \"build-deps/macos-cache-stamp\"}}\
-{{checksum \"cmake/MacosWxwidgets.cmake\"}}\
-{{checksum \"ci/circleci-build-macos.sh\"}}"
- run: ci/circleci-build-macos.sh
- save_cache:
key: "{{checksum \"build-deps/macos-cache-stamp\"}}\
-{{checksum \"cmake/MacosWxwidgets.cmake\"}}\
-{{checksum \"ci/circleci-build-macos.sh\"}}"
paths:
- /tmp/local.cache.tar
- /Users/distiller/project/cache
- run: >
sh -c "otool -L build-osx/app/*/OpenCPN.app/Contents/PlugIns/*.dylib"
- run: cd build-osx; /bin/bash < upload.sh
- run: ci/git-push.sh build-osx
Metadata
Metadata
Assignees
Labels
No labels