calref / cboe

Classic Blades of Exile
http://spiderwebforums.ipbhost.com/index.php?/forum/12-blades-of-exile/
Other
167 stars 41 forks source link

Mac builds use dependencies built for MacOS 12 #364

Open NQNStudios opened 2 weeks ago

NQNStudios commented 2 weeks ago

The mac builds, while they work, probably only run on MacOS 12+, because we get our dependencies from brew, which doesn't support backwards-compatible dylib builds. We want to be building for a minimum of MacOS 10.9, which is why our Mac CI builds give us these warnings:

⚠️ ld: dylib (/usr/local/lib/libboost_system.dylib) was built for newer macOS version (12.0) than being linked (10.9) ⚠️ ld: dylib (/usr/local/lib/libboost_filesystem.dylib) was built for newer macOS version (12.0) than being linked (10.9)

A possible solution we talked about is to use a GitHub action such as this one to build boost from source in the Mac CI. Then we would want to cache these builds so the CI runs don't get tremendously slower.

CelticMinstrel commented 2 weeks ago

This is specific to the CI, so it's only an issue if we want to actually make the CI generate the artifacts.

NQNStudios commented 1 day ago

This action might be usable for building SFML from source: https://github.com/oprypin/install-sfml/

It doesn't have a README though...