-
Notifications
You must be signed in to change notification settings - Fork 42
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
Fix macOS CI #2075
Fix macOS CI #2075
Conversation
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.
Some thoughts...
88c5409
to
4e2a3cd
Compare
Also remove broken debugging code from the macOS build config. See longturn#2075.
SDL2 supports CMake natively and installs an SDL2Config.cmake file. Hence we do not need a find module. The custom module was not handling linking to macOS frameworks, which was hard coded into client CMakeLists.txt instead. Just switch to the native module, which does all of this for us natively. See longturn#2075.
Recommend opening an issue to check them. See longturn#2075.
Also remove broken debugging code from the macOS build config. See longturn#2075.
This is needed to work around a bug in the meson build system used by fontconfig, which is pulled as a dependency by vcpkg. See longturn#2069.
In case it fails to create an image, make sure it tells us why.
SDL2 supports CMake natively and installs an SDL2Config.cmake file. Hence we do not need a find module. The custom module was not handling linking to macOS frameworks, which was hard coded into client CMakeLists.txt instead. Just switch to the native module, which does all of this for us natively. See longturn#2075.
Recommend opening an issue to check them. See longturn#2075.
6e32763
to
c778696
Compare
Is there a way for us to have the windows clang CI run to ensure we don't break anything there? If not, I can run on my local as a test. |
I am also suggesting we do a squash merge |
Triggering a run in my fork. -> https://github.com/lmoureaux/freeciv21/actions/runs/7229577730, passed 🟢
I condensed the commit history in just 5 self-contained changes, shouldn't be necessary. |
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.
Coolio!
Also remove broken debugging code from the macOS build config. See #2075.
SDL2 supports CMake natively and installs an SDL2Config.cmake file. Hence we do not need a find module. The custom module was not handling linking to macOS frameworks, which was hard coded into client CMakeLists.txt instead. Just switch to the native module, which does all of this for us natively. See #2075.
Also remove broken debugging code from the macOS build config. See #2075.
SDL2 supports CMake natively and installs an SDL2Config.cmake file. Hence we do not need a find module. The custom module was not handling linking to macOS frameworks, which was hard coded into client CMakeLists.txt instead. Just switch to the native module, which does all of this for us natively. See #2075.
This fixes multiple failures in the macOS CI. See commits for some more info
Closes #2069