aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Giffon <eric.giffon@sonarsource.com>2024-12-18 15:50:41 +0100
committerEric Giffon <eric.giffon@sonarsource.com>2024-12-18 15:51:47 +0100
commit71420af2d635629dc8652f8bac5a33cb674b0072 (patch)
treef342c995d8d284e7b1ef23833985edfce524dd6f
parenta2662929034ddb179737dffddea159518de835fc (diff)
downloadsonar-scanner-cli-71420af2d635629dc8652f8bac5a33cb674b0072.tar.gz
sonar-scanner-cli-71420af2d635629dc8652f8bac5a33cb674b0072.zip
SCANCLI-118 Run ITs on macOSfeature/eg/SCANCLI-118-run-its-macos
-rw-r--r--.cirrus.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 0578ee0..d3ba97b 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -135,6 +135,33 @@ win_x64_qa_java17_task:
cleanup_before_cache_script:
- cleanup_maven_repository
+macos_qa_java17_task:
+ depends_on:
+ - build
+ <<: *ONLY_SONARSOURCE_QA
+ persistent_worker:
+ resources:
+ tart-vms: 1
+ labels:
+ envname: prod
+ isolation:
+ tart:
+ image: ghcr.io/cirruslabs/macos-sonoma-xcode:latest
+ cpu: 4
+ memory: 8G
+ env:
+ matrix:
+ - SQ_VERSION: LATEST_RELEASE
+ maven_cache:
+ folder: ${CIRRUS_WORKING_DIR}/.m2/repository
+ qa_script:
+ - source cirrus-env QA
+ - source set_maven_build_version $BUILD_NUMBER
+ - cd it
+ - mvn -B -e -Dsonar.runtimeVersion="$SQ_VERSION" -Dmaven.test.redirectTestOutputToFile=false verify
+ cleanup_before_cache_script:
+ - cleanup_maven_repository
+
promote_task:
depends_on:
- linux_x64_qa_java17