aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/main.yml
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2021-05-17 12:36:05 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2021-09-20 10:19:21 +0000
commit84170f738352f7af14663ea31de9b13be86a3de1 (patch)
tree8dc2920d7032ebe9c36fb7e6a15e04f66e748b02 /.github/workflows/main.yml
parent2f399f57bbfbfe2f97903eb40ff7c14d8098a470 (diff)
GitHub actions: bump Xcode version to 12.5
Also, use fixed OS version for building Qbs - we don't want 'macos-latest' to be changed in the future. Also, run ios and ios-simulator tests with 12.5. Change-Id: I5345fb7b583c69b97299e6e695c17ac33026e13f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to '.github/workflows/main.yml')
-rw-r--r--.github/workflows/main.yml50
1 files changed, 28 insertions, 22 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 6f148c0ad..70a283159 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -122,7 +122,7 @@ jobs:
build-macos:
name: Build on macOS
- runs-on: macos-latest
+ runs-on: macos-10.15
timeout-minutes: 60
env:
BUILD_OPTIONS: |
@@ -564,7 +564,7 @@ jobs:
test-macos:
name: ${{ matrix.config.name }}
- runs-on: macos-latest
+ runs-on: ${{ matrix.config.runner }}
timeout-minutes: 60
needs: build-macos
env:
@@ -576,50 +576,56 @@ jobs:
matrix:
config:
- {
- name: 'Run macOS tests (Xcode 12.4)',
+ name: 'Run macOS tests (Xcode 12.5)',
+ runner: 'macos-11.0',
target: 'desktop',
toolchain: 'clang_64',
- testProfile: 'xcode_12_4-macosx-x86_64',
+ testProfile: 'xcode_12_5-macosx-x86_64',
qtVersion: '5.15.2',
script: './scripts/test-qbs.sh',
}
- {
- name: 'Run macOS tests (Xcode 12.4, Qt 6.0)',
+ name: 'Run macOS tests (Xcode 12.5, Qt 6.0)',
+ runner: 'macos-11.0',
target: 'desktop',
toolchain: 'clang_64',
- testProfile: 'xcode_12_4-macosx-x86_64',
+ testProfile: 'xcode_12_5-macosx-x86_64',
qtVersion: '6.0.2',
script: './scripts/test-qt.sh',
}
- {
- name: 'Run macOS tests (Xcode 11.6)',
- target: 'desktop',
- toolchain: 'clang_64',
- testProfile: 'xcode_11_6-macosx-x86_64',
+ name: 'Run iOS tests (Xcode 12.5)',
+ runner: 'macos-11.0',
+ target: 'ios',
+ toolchain: 'ios',
+ testProfile: 'xcode_12_5-iphoneos-arm64',
qtVersion: '5.15.2',
script: './scripts/test-qbs.sh',
}
- {
- name: 'Run macOS tests (Xcode 10.3)',
- target: 'desktop',
- toolchain: 'clang_64',
- testProfile: 'xcode_10_3-macosx-x86_64',
+ name: 'Run iOS-sim tests (Xcode 12.5)',
+ runner: 'macos-11.0',
+ target: 'ios',
+ toolchain: 'ios',
+ testProfile: 'xcode_12_5-iphonesimulator-x86_64',
qtVersion: '5.15.2',
script: './scripts/test-qbs.sh',
}
- {
- name: 'Run iOS tests (Xcode 12.0)',
- target: 'ios',
- toolchain: 'ios',
- testProfile: 'xcode_12-iphoneos-arm64',
+ name: 'Run macOS tests (Xcode 11.6)',
+ runner: 'macos-10.15',
+ target: 'desktop',
+ toolchain: 'clang_64',
+ testProfile: 'xcode_11_6-macosx-x86_64',
qtVersion: '5.15.2',
script: './scripts/test-qbs.sh',
}
- {
- name: 'Run iOS-sim tests (Xcode 12.0)',
- target: 'ios',
- toolchain: 'ios',
- testProfile: 'xcode_12-iphonesimulator-x86_64',
+ name: 'Run macOS tests (Xcode 10.3)',
+ runner: 'macos-10.15',
+ target: 'desktop',
+ toolchain: 'clang_64',
+ testProfile: 'xcode_10_3-macosx-x86_64',
qtVersion: '5.15.2',
script: './scripts/test-qbs.sh',
}