Skip to content
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

Bump macOS CI #516

Merged
merged 3 commits into from
Jun 27, 2024
Merged

Bump macOS CI #516

merged 3 commits into from
Jun 27, 2024

Conversation

nosracd
Copy link
Contributor

@nosracd nosracd commented Jun 27, 2024

This PR bumps to using the two latest GitHub macOS CI runners.

c0564ac actually bumps to using the latest runners, but this by itself results in:

dyld[7691]: Library not loaded: liblcm.1.dylib
  Referenced from: <102511FD-1F60-33E8-8EC8-DA47AB3BC3D6> /Users/runner/work/lcm/lcm/examples/cpp/lcm_log_writer/build/lcm_log_writer
  Reason: tried: 'liblcm.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSliblcm.1.dylib' (no such file), 'liblcm.1.dylib' (no such file), '/Users/runner/work/lcm/lcm/examples/cpp/lcm_log_writer/liblcm.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/runner/work/lcm/lcm/examples/cpp/lcm_log_writer/liblcm.1.dylib' (no such file), '/Users/runner/work/lcm/lcm/examples/cpp/lcm_log_writer/liblcm.1.dylib' (no such file)
/Users/runner/work/_temp/ff9e4820-2618-4e7a-96e7-700dbe91c18c.sh: line 3:  7691 Abort trap: 6           build/lcm_log_writer build/example.log

9b38552 resolves the above by refactoring the example to statically link against LCM. However, that results in:

  The link interface of target "lcm-static" contains:

    GLib2::glib

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /usr/local/lib/lcm/cmake/lcmConfig.cmake:6 (include)
  CMakeLists.txt:5 (find_package)


CMake Generate step failed.  Build files cannot be regenerated correctly.

So 7728ab8 continues the pattern in the other examples to resolve that.

@nosracd nosracd requested a review from ihilt June 27, 2024 15:21
@nosracd nosracd self-assigned this Jun 27, 2024
@ihilt ihilt merged commit 64e149f into lcm-proj:master Jun 27, 2024
11 checks passed
@ihilt ihilt deleted the bump/macos_ci branch June 27, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants