Skip to content

Weather_routing MacOS is not building. #91

@rgleason

Description

@rgleason

https://app.circleci.com/pipelines/github/rgleason/weather_routing_pi/980/workflows/b117d547-401c-459c-9510-03bc79c01aaa/jobs/12981

They are both using xcode 15.4.0

WR Script for MacOS similar to Testplugin

https://github.com/rgleason/weather_routing_pi/blob/2b6cfa36ffc54a3f601ad85603077d89b783bf5a/.circleci/config.yml

    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

https://github.com/nohal/objsearch_pi/blob/660c744088a10dece5a612cf739d289977512615/.circleci/config.yml

 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions