Skip to content

Commit

Permalink
RUM-483 use macos runner
Browse files Browse the repository at this point in the history
  • Loading branch information
xgouchet committed Jul 24, 2024
1 parent 1d52055 commit a80406a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ stages:
- publish
- notify

.snippets:
install-android-sdk:
- curl -sSL -o commandlinetools.zip https://dl.google.com/android/repository/commandlinetools-mac-11076708_latest.zip
- rm -rf ~/android_sdk
- rm -rf ~/cmdline-tools
- unzip -q commandlinetools -d ~/
- mkdir -p ~/android_sdk/cmdline-tools/latest
- mv ~/cmdline-tools/* ~/android_sdk/cmdline-tools/latest
- rm ./commandlinetools.zip
- export ANDROID_HOME="$HOME/android_sdk/"
- yes | ~/android_sdk/cmdline-tools/latest/bin/sdkmanager --licenses || true

# CI IMAGE

ci-image:
Expand Down Expand Up @@ -211,6 +223,17 @@ test-pyramid:single-fit-trace:
reports:
junit: "**/build/test-results/testReleaseUnitTest/*.xml"

test:instrumentation-mac:
tags: [ "macos:sonoma" ]
image: $CI_IMAGE_DOCKER
stage: test
timeout: 1h
script:
- !reference [.snippets, install-android-sdk]
- echo "Hello macos?"
- uname -a
- printenv

test-pyramid:publish-e2e-synthetics:
tags: [ "arch:amd64" ]
image: $CI_IMAGE_DOCKER
Expand Down

0 comments on commit a80406a

Please sign in to comment.