This PR bumps to using the two latest GitHub macOS CI runners.
c0564acf4ccd208622d4ff3169a9aa192f47b85d 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
9b385522f54913ca2540ef3506537a4ccbbc6d37 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 7728ab8672630f5f84a14157f8d0f7fd09ce7a02 continues the pattern in the other examples to resolve that.
This PR bumps to using the two latest GitHub macOS CI runners.
c0564acf4ccd208622d4ff3169a9aa192f47b85d actually bumps to using the latest runners, but this by itself results in:
9b385522f54913ca2540ef3506537a4ccbbc6d37 resolves the above by refactoring the example to statically link against LCM. However, that results in:
So 7728ab8672630f5f84a14157f8d0f7fd09ce7a02 continues the pattern in the other examples to resolve that.