macOS CI: remove Homebrew; use setup-python + aqt Qt install; fix aqt… #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build-macos: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| brew update | |
| brew install cmake ninja qt@6 | |
| echo "Qt installed at $(brew --prefix qt@6)" | |
| - name: Configure | |
| run: | | |
| mkdir build | |
| cd build | |
| cmake .. \ | |
| -G Ninja \ | |
| -DCMAKE_BUILD_TYPE=Release \ | |
| -DCMAKE_PREFIX_PATH=$(brew --prefix qt@6) | |
| - name: Build | |
| run: | | |
| cd build | |
| ninja -v |