diff options
author | Juha Alanen <juha.alanen@mapbox.com> | 2020-02-12 12:08:37 +0200 |
---|---|---|
committer | Juha Alanen <juha.alanen@mapbox.com> | 2020-02-18 16:10:23 +0200 |
commit | d01c6aa322d096229ec122fa64bb71ededf6dfdb (patch) | |
tree | 0efe9aa9c86386547cca9babbe9b74c7233fbc19 /circle.yml | |
parent | 850ba6ebba12d4d69ea051db1ddcaf28f09ad00c (diff) | |
download | qtlocation-mapboxgl-d01c6aa322d096229ec122fa64bb71ededf6dfdb.tar.gz |
[build] Bump Xcode and iOS versions for test runner builds
Use the latest Xcode 11.3.1 and run the tests on
iPhone 11 with the latest iOS 13.3.
Diffstat (limited to 'circle.yml')
-rw-r--r-- | circle.yml | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/circle.yml b/circle.yml index d7b9a78e5f..48e9e12df7 100644 --- a/circle.yml +++ b/circle.yml @@ -132,14 +132,14 @@ workflows: config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5 -DMBGL_WITH_QT=ON' - build-template: name: qt5-macos-gcc5-release - executor_name: macos-11_0_0 + executor_name: macos-11_1_0 target_is_macos: true requires: - qt5-linux-gcc5-release config_params: '-G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DMBGL_WITH_QT=ON -DCMAKE_PREFIX_PATH=$(echo /usr/local/Cellar/qt/5.*/lib/cmake)' - build-template: name: macos-xcode11-release - executor_name: macos-11_0_0 + executor_name: macos-11_1_0 target_is_macos: true config_params: '-G Ninja -DCMAKE_INSTALL_PREFIX=/tmp/workspace/install/$CIRCLE_JOB -DCMAKE_CXX_COMPILER_LAUNCHER=ccache' install: true @@ -147,7 +147,7 @@ workflows: style_tests: true - build-template: name: macos-xcode11-debug - executor_name: macos-11_0_0 + executor_name: macos-11_1_0 target_is_macos: true requires: - macos-xcode11-release @@ -155,7 +155,7 @@ workflows: style_tests: true - build-template: name: ios-xcode11-release - executor_name: macos-11_0_0 + executor_name: macos-11_3_1 target_is_macos: true config_params: '-G Xcode -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_ARCHITECTURES=arm64e -DCMAKE_OSX_SYSROOT=iphoneos' build_params: '--config Release' @@ -182,12 +182,18 @@ executors: QT_INSTALL_DOCS: /usr/share/qt5/doc QT_VERSION: 5 TSAN_OPTIONS: suppressions=/src/platform/linux/tsan_suppress.txt - macos-11_0_0: + macos-11_1_0: macos: xcode: '11.1.0' environment: HOMEBREW_NO_AUTO_UPDATE: 1 HOMEBREW_NO_INSTALL_CLEANUP: 1 + macos-11_3_1: + macos: + xcode: '11.3.1' + environment: + HOMEBREW_NO_AUTO_UPDATE: 1 + HOMEBREW_NO_INSTALL_CLEANUP: 1 commands: prepare: @@ -319,7 +325,7 @@ commands: rm secret.json jobs: ios-render-test-runner: - executor: macos-11_0_0 + executor: macos-11_3_1 steps: - checkout - prepare @@ -369,7 +375,7 @@ jobs: gcloud firebase test ios models list gcloud firebase test ios run \ --test testapp.zip \ - --device model=iphonexs,version=12.0,locale=en,orientation=portrait --xcode-version=11.1 --timeout 20m \ + --device model=iphone11,version=13.3,locale=en,orientation=portrait --xcode-version=11.3.1 --timeout 20m \ --verbosity=debug --no-record-video --results-dir ios-render-test-app-${CIRCLE_BUILD_NUM} fi - run: @@ -377,7 +383,7 @@ jobs: when: always command: | if [[ -n "${GCLOUD_SERVICE_ACCOUNT_JSON_IOS}" ]]; then - testResult=$(gsutil ls -d gs://test-lab-hn7kwqcz3108z-hjm4qtbqqkymk/ios-render-test-app-${CIRCLE_BUILD_NUM}/iphonexs-12.0-en-portrait/TestLogs/) + testResult=$(gsutil ls -d gs://test-lab-hn7kwqcz3108z-hjm4qtbqqkymk/ios-render-test-app-${CIRCLE_BUILD_NUM}/iphone11-13.3-en-portrait/TestLogs/) mkdir -p render-test-app gsutil -m cp -r $testResult render-test-app cd render-test-app/TestLogs @@ -393,7 +399,7 @@ jobs: fi - save ios-unit-test-runner: - executor: macos-11_0_0 + executor: macos-11_3_1 steps: - checkout - prepare @@ -443,7 +449,7 @@ jobs: gcloud firebase test ios models list gcloud firebase test ios run \ --test testapp.zip \ - --device model=iphonexs,version=12.0,locale=en,orientation=portrait --xcode-version=11.1 --timeout 20m \ + --device model=iphone11,version=13.3,locale=en,orientation=portrait --xcode-version=11.3.1 --timeout 20m \ --verbosity=debug --no-record-video --results-dir ios-unit-test-app-${CIRCLE_BUILD_NUM} fi - run: @@ -451,7 +457,7 @@ jobs: when: always command: | if [[ -n "${GCLOUD_SERVICE_ACCOUNT_JSON_IOS}" ]]; then - testResult=$(gsutil ls -d gs://test-lab-hn7kwqcz3108z-hjm4qtbqqkymk/ios-unit-test-app-${CIRCLE_BUILD_NUM}/iphonexs-12.0-en-portrait/TestLogs/) + testResult=$(gsutil ls -d gs://test-lab-hn7kwqcz3108z-hjm4qtbqqkymk/ios-unit-test-app-${CIRCLE_BUILD_NUM}/iphone11-13.3-en-portrait/TestLogs/) mkdir -p unit-test-app gsutil -m cp -r $testResult unit-test-app cd unit-test-app/TestLogs @@ -461,7 +467,7 @@ jobs: fi - save ios-benchmark-runner: - executor: macos-11_0_0 + executor: macos-11_3_1 steps: - checkout - prepare @@ -511,7 +517,7 @@ jobs: gcloud firebase test ios models list gcloud firebase test ios run \ --test testapp.zip \ - --device model=iphonexs,version=12.0,locale=en,orientation=portrait --xcode-version=11.1 --timeout 20m \ + --device model=iphone11,version=13.3,locale=en,orientation=portrait --xcode-version=11.3.1 --timeout 20m \ --verbosity=debug --no-record-video --results-dir ios-benchmark-app-${CIRCLE_BUILD_NUM} fi - run: @@ -519,7 +525,7 @@ jobs: when: always command: | if [[ -n "${GCLOUD_SERVICE_ACCOUNT_JSON_IOS}" ]]; then - testResult=$(gsutil ls -d gs://test-lab-hn7kwqcz3108z-hjm4qtbqqkymk/ios-benchmark-app-${CIRCLE_BUILD_NUM}/iphonexs-12.0-en-portrait/TestLogs/) + testResult=$(gsutil ls -d gs://test-lab-hn7kwqcz3108z-hjm4qtbqqkymk/ios-benchmark-app-${CIRCLE_BUILD_NUM}/iphone11-13.3-en-portrait/TestLogs/) mkdir -p benchmark-app gsutil -m cp -r $testResult benchmark-app cd benchmark-app/TestLogs |