diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff6645b281..43d600c405 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: @@ -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