File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build-macos :
14+ if : github.ref == 'refs/heads/issue-7133-macos-test' # ensure only this branch runs this job
1415 runs-on : macos-latest
1516 steps :
1617 - uses : actions/checkout@v4
1718
18- # Use isolated Python so pip works (avoids PEP 668)
19+ # Isolated Python so pip works (avoids PEP 668)
1920 - name : Set up Python
2021 uses : actions/setup-python@v5
2122 with :
4142 python3 -m pip install --upgrade pip
4243 python3 -m pip install aqtinstall
4344
44- - name : List available Qt modules (for visibility)
45+ # Correct syntax: --modules <VERSION> <ARCH>
46+ - name : List available Qt modules
4547 run : |
46- python3 -m aqt list-qt mac desktop "${QT_VERSION}" --modules macos
48+ python3 -m aqt list-qt mac desktop --modules "${QT_VERSION}" macos
4749
4850 - name : Install Qt (aqt, no Homebrew)
4951 run : |
5456 fi
5557 ls -la "$HOME/Qt/${QT_VERSION}/macos"
5658
59+ # Avoid Homebrew entirely. Fallback installs ninja from PyPI if missing.
60+ - name : Ensure Ninja (no Homebrew)
61+ run : |
62+ ninja --version || python3 -m pip install ninja
63+
5764 - name : Configure (CMake + Qt6)
5865 env :
5966 CMAKE_PREFIX_PATH : ${{ runner.home }}/Qt/${{ env.QT_VERSION }}/macos
You can’t perform that action at this time.
0 commit comments