-
-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: fixes macOS builds #1019
base: main
Are you sure you want to change the base?
ci: fixes macOS builds #1019
Conversation
Thanks Ramon! |
Thanks, but all the other builds are failing (see CI) |
seems the touch ups with protobuf are failing. I will take a look. |
It should be ok now. |
COMPILE.md
Outdated
@@ -118,7 +120,7 @@ export LDFLAGS="$QT_HOME/lib" | |||
Clone the repository into **~/plotjuggler_ws**: | |||
|
|||
```shell | |||
git clone https://github.com/facontidavide/PlotJuggler.git ~/plotjuggler_ws/src/PlotJuggler | |||
git clone https://github.com/PX4/PlotJuggler.git ~/plotjuggler_ws/src/PlotJuggler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exactly 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad! Done.
@@ -10,24 +10,24 @@ endif() | |||
find_package(ZeroMQ QUIET) | |||
|
|||
if(ZeroMQ_FOUND) | |||
message(STATUS "[ZeroMQ] found") | |||
# message(STATUS "[ZeroMQ] found") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please cleanup comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is going on here?
Are you intentionally removing ZeroMQ plugin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was. Seems ZMQ library is not found sometimes on Mac. I think what I added would tolerate it and pass the build if it cannot find it.
ed79ea6
to
dc9cb8c
Compare
@facontidavide we made a few changes can you please approve the workflow runs? thank you |
085c880
to
b1ad089
Compare
I rebased and seems on local repo it passed all CI checks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comments from @mrpollo
I have made a PR with the requested changes from the review of this PR. All should be ok but please confirm. If so feel free to merge that one and close this one, or cherry-pick that commit here (I couldn't push to this branch directly). From my side there is no preference. Hope that is ok @farhangnaderi . Thanks for the fix also @mrpollo |
Thanks @RicardoM17 . I am not sure how this PR would be different. The issue it makes is zmq not found if we want to have it built. |
This is the issue I am talking about, that is why I had suppressed zmq.
|
Pr fix ci (#3) ci: Fixes macOS builds (#1) adds runners for both Intel and Apple silicon macs --------- Co-authored-by: Daniel Agar <[email protected]> Co-authored-by: Ramon Roche <[email protected]>
e71e45c
to
6fd39d2
Compare
@mrpollo @facontidavide You may double check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are almost there, I left a few comments please review
key: ${{ runner.os }}-QtCache | ||
- name: Prepare Homebrew and Install Dependencies | ||
run: | | ||
rm -rf /usr/local/var/homebrew/locks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this necessary? seems like it goes against homebrew policy
@@ -3,7 +3,6 @@ name: ubuntu | |||
on: [push, pull_request] | |||
|
|||
jobs: | |||
|
|||
ubuntu-build: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please revert the change to this file?
@@ -101,4 +101,4 @@ Component.prototype.componentSelectionPageEntered = function() | |||
if (installer.fileExists(dir) && installer.fileExists(dir + "/maintenancetool.exe")) { | |||
installer.execute(dir + "/maintenancetool.exe", ["purge", "-c"]); | |||
} | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also make sure this file isn't touched by this pr?
@@ -110,4 +110,4 @@ | |||
</widget> | |||
<resources/> | |||
<connections/> | |||
</ui> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here please
This pr fixes the macOS CI