Skip to content

Commit

Permalink
SCANCLI-118 Run ITs on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ericg138 committed Dec 18, 2024
1 parent a266292 commit 4d28148
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,34 @@ 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:
CIRRUS_SHELL: bash
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:

Check warning on line 166 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L166

task "promote" depends on task "linux_x64_qa_java17", but their only_if conditions are different

Check warning on line 166 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L166

task "promote" depends on task "linux_x64_qa_java17", but their only_if conditions are different

Check warning on line 166 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L166

task "promote" depends on task "linux_x64_qa_java17", but their only_if conditions are different

Check warning on line 166 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L166

task "promote" depends on task "win_x64_qa_java17", but their only_if conditions are different

Check warning on line 166 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L166

task "promote" depends on task "win_x64_qa_java17", but their only_if conditions are different

Check warning on line 166 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L166

task "promote" depends on task "win_x64_qa_java17", but their only_if conditions are different
depends_on:
- linux_x64_qa_java17
Expand Down

0 comments on commit 4d28148

Please sign in to comment.