-
Notifications
You must be signed in to change notification settings - Fork 11
34 lines (28 loc) · 1.06 KB
/
tdsCompilation.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: TDS Compilation Performance Test
on:
push:
workflow_dispatch:
jobs:
performance-test:
runs-on: macos-15-xlarge
steps:
- uses: actions/checkout@v3
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_$(<.xcode-version).app/Contents/Developer
- name: Build for testing
run: |
xcodebuild build-for-testing \
-scheme TrackerRadarKit \
-destination 'platform=macOS'
- name: Run performance test
env:
INIT_BASELINE: ${{ github.event.inputs.init_baseline || 'false' }}
TEST_VS_BASELINE: ${{ github.event.inputs.test_vs_baseline || 'true' }}
TDS_FILE_NAME: ${{ github.event.inputs.tds_file_name || 'ios-tds.json' }}
USE_TDS_DEV_URL: ${{ github.event.inputs.use_tds_dev_url || 'false' }}
run: |
xcodebuild test-without-building \
-scheme TrackerRadarKit \
-destination 'platform=macOS' \
-only-testing:TrackerRadarKitPerformanceTests/NextTrackerDataSetPerformanceTests \
-destination 'platform=macOS'