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

fix Qt5 build on CI for MacOS which requires x86_64 #204

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bebuch
Copy link

@bebuch bebuch commented Jan 18, 2025

The Qt5 build in the CI is broken, because Qt5 is provided for x86_64 only, while current macos runners support arm64 only. Setting MacOS to version 13 should fix this until it falls out of GitHub Support.

References:

@bebuch
Copy link
Author

bebuch commented Jan 20, 2025

The CMake build on MacOS works again with the change to macos-13. Unfortunately, there is a new problem with the QMake build on MacOS.

qmake
  make
  shell: /bin/bash -e {0}
  env:
    CXXFLAGS: -Wall -Wextra -pedantic -Werror
    MAKEFLAGS: -j3
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.11.9/x64
    PKG_CONFIG_PATH: /Users/runner/hostedtoolcache/Python/3.11.9/x64/lib/pkgconfig:/Users/runner/work/SingleApplication/Qt/6.5.0/macos/lib/pkgconfig
    Python_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.11.9/x64
    Python2_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.11.9/x64
    Python3_ROOT_DIR: /Users/runner/hostedtoolcache/Python/3.11.9/x64
    Qt6_DIR: /Users/runner/work/SingleApplication/Qt/6.5.0/macos
    QT_PLUGIN_PATH: /Users/runner/work/SingleApplication/Qt/6.5.0/macos/plugins
    QML2_IMPORT_PATH: /Users/runner/work/SingleApplication/Qt/6.5.0/macos/qml
Info: creating stash file /Users/runner/work/SingleApplication/SingleApplication/examples/basic/.qmake.stash
Project ERROR: failed to parse default search paths from compiler output

I don't know how to debug this. With my latest commit, I've disabled the QMake build on MacOS. This should at least get the CI pipelines running again. (I hope the syntax is correct, I still have very little experience with Github Actions.)

@bebuch
Copy link
Author

bebuch commented Jan 20, 2025

In my Repo the Pipelines succeeded.

https://github.com/bebuch/SingleApplication/actions/runs/12864628236/

It's ready for merge.

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.

1 participant