diff options
author | Ivan Komissarov <abbapoh@gmail.com> | 2023-08-17 17:47:48 +1100 |
---|---|---|
committer | Ivan Komissarov <ABBAPOH@gmail.com> | 2023-08-22 08:54:38 +0000 |
commit | b4c7d6078c2eed3d655e8eb074bf1dca6a93f0e0 (patch) | |
tree | 3c24f304a6498ca65db6cb21374e7efb5683e683 | |
parent | 93f045e90cf72ae70f1745c56a9cf068a3a1a3d9 (diff) |
GitHub actions: add xcode-less job on macOS
Change-Id: Ie535183ced8ee200c506b54d4958976f321cb7fb
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r-- | .github/workflows/main.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 04409a79e..6f0e10448 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -676,6 +676,16 @@ jobs: qtVersion: '6.5.0', script: './scripts/test-qbs.sh', } + - { + name: 'Run macOS tests (Xcode-less)', + runner: 'macos-13', + target: 'desktop', + toolchain: 'clang_64', + xcodeVersion: '', + testProfile: 'xcode_13_4_1-macosx-x86_64', + qtVersion: '6.5.0', + script: './scripts/test-qbs.sh', + } steps: - uses: actions/checkout@v1 - name: Download artifact @@ -704,6 +714,7 @@ jobs: version: ${{ matrix.config.qtVersion }} - name: Select Xcode run: sudo xcode-select --switch /Applications/Xcode_${{ matrix.config.xcodeVersion }}.app + if: matrix.config.xcodeVersion != '' - name: Setup Qbs run: | qbs setup-toolchains --detect @@ -711,6 +722,15 @@ jobs: qbs config profiles.qt.baseProfile ${{ matrix.config.testProfile }} qbs config defaultProfile qt qbs config --list + if: matrix.config.xcodeVersion != '' + - name: Setup Qbs (Xcode-less) + run: | + qbs setup-toolchains /usr/bin/clang++ ${{ matrix.config.testProfile }} + qbs setup-qt $(which qmake) qt + qbs config profiles.qt.baseProfile ${{ matrix.config.testProfile }} + qbs config defaultProfile qt + qbs config --list + if: matrix.config.xcodeVersion == '' - name: Run Tests run: | sudo chmod g+w /cores |