Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ include:
variables:
GIT_DEPTH: 5
DEVELOP_BRANCH: 'develop'
DEVELOPER_DIR: '/Applications/Xcode-16.4.0.app/Contents/Developer'
Comment thread
cdn34dd marked this conversation as resolved.
IOS_SIMULATOR_DESTINATION: 'platform=iOS Simulator,OS=18.5,name=iPhone 16 Pro Max'
ANDROID_SDK_VERSION: 'commandlinetools-mac-11076708_latest'
EMULATOR_NAME: 'android_emulator'
ANDROID_ARCH: 'arm64-v8a'
Expand Down Expand Up @@ -45,7 +47,7 @@ stages:
# TESTS

test:lint:
tags: ['macos:sonoma', 'specific:true']
tags: ['macos:sequoia-arm64', 'specific:true']
Comment thread
cdn34dd marked this conversation as resolved.
stage: test
rules:
- if: '$BUILD_BENCHMARK != "true"'
Expand All @@ -55,7 +57,7 @@ test:lint:
- yarn run lint

test:js:
tags: ['macos:sonoma', 'specific:true']
tags: ['macos:sequoia-arm64', 'specific:true']
stage: test
rules:
- if: '$BUILD_BENCHMARK != "true"'
Expand All @@ -66,7 +68,7 @@ test:js:
- NODE_OPTIONS='-r dd-trace/ci/init' DD_ENV=ci DD_SERVICE=dd-sdk-reactnative yarn test

test:build:
tags: ['macos:sonoma', 'specific:true']
tags: ['macos:sequoia-arm64', 'specific:true']
stage: test
rules:
- if: '$BUILD_BENCHMARK != "true"'
Expand All @@ -76,7 +78,7 @@ test:build:
- yarn prepare

test:native-android:
tags: ['macos:sonoma', 'specific:true']
tags: ['macos:sequoia-arm64', 'specific:true']
stage: test
rules:
- if: '$BUILD_BENCHMARK != "true"'
Expand All @@ -94,37 +96,37 @@ test:native-android:
- (cd packages/internal-testing-tools/android && ./gradlew build -PDdSdkReactNative_minSdkVersion=24 -PDatadogInternalTesting_minSdkVersion=24)

test:native-ios:
tags: ['macos:sonoma', 'specific:true']
tags: ['macos:sequoia-arm64', 'specific:true']
stage: test
rules:
- if: '$BUILD_BENCHMARK != "true"'
timeout: 1h
script:
- yarn
- (cd example/ios && RCT_NEW_ARCH_ENABLED=0 pod install --repo-update)
- set -o pipefail && xcodebuild -workspace example/ios/DdSdkReactNativeExample.xcworkspace -scheme DatadogSDKReactNative test -destination "platform=iOS Simulator,OS=17.4,name=iPhone 15 Pro Max" | xcbeautify
- set -o pipefail && xcodebuild -workspace example/ios/DdSdkReactNativeExample.xcworkspace -scheme DatadogSDKReactNative test -destination "$IOS_SIMULATOR_DESTINATION" | xcbeautify

test:native-ios-sr:
tags: ['macos:sonoma', 'specific:true']
tags: ['macos:sequoia-arm64', 'specific:true']
stage: test
rules:
- if: '$BUILD_BENCHMARK != "true"'
timeout: 1h
script:
- yarn
- (cd example/ios && RCT_NEW_ARCH_ENABLED=0 pod install --repo-update)
- set -o pipefail && xcodebuild -workspace example/ios/DdSdkReactNativeExample.xcworkspace -scheme DatadogSDKReactNativeSessionReplay test -destination "platform=iOS Simulator,OS=17.4,name=iPhone 15 Pro Max" | xcbeautify
- set -o pipefail && xcodebuild -workspace example/ios/DdSdkReactNativeExample.xcworkspace -scheme DatadogSDKReactNativeSessionReplay test -destination "$IOS_SIMULATOR_DESTINATION" | xcbeautify

test:native-ios-newarch:
tags: ['macos:sonoma', 'specific:true']
tags: ['macos:sequoia-arm64', 'specific:true']
stage: test
rules:
- if: '$BUILD_BENCHMARK != "true"'
timeout: 1h
script:
- yarn
- (cd example-new-architecture/ios && RCT_NEW_ARCH_ENABLED=1 pod install --repo-update)
- set -o pipefail && xcodebuild -workspace example-new-architecture/ios/DdSdkReactNativeExample.xcworkspace -scheme DatadogSDKReactNative test -destination "platform=iOS Simulator,OS=17.4,name=iPhone 15 Pro Max" | xcbeautify
- set -o pipefail && xcodebuild -workspace example-new-architecture/ios/DdSdkReactNativeExample.xcworkspace -scheme DatadogSDKReactNative test -destination "$IOS_SIMULATOR_DESTINATION" | xcbeautify

benchmark:
stage: benchmark
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/.benchmarks-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ stages:

build-and-upload:app:
stage: build-and-upload
tags: ['macos:sonoma', 'specific:true']
tags: ['macos:sequoia-arm64', 'specific:true']
script:
- !reference [.snippets, install-node]
- !reference [.snippets, install-android-sdk]
Expand Down