Skip to content

TDS Compilation Performance Test #14

TDS Compilation Performance Test

TDS Compilation Performance Test #14

name: TDS Compilation Performance Test
on:
push:
workflow_dispatch:
inputs:
ios_s3_url:
description: 'Full HTTPS or S3 URL of the iOS TrackerData file location'
required: true
macos_s3_url:
description: 'Full HTTPS or S3 URL of the macOS TrackerData file location'
required: true
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 (iOS)
run: |
env TDS_UT_FILE_NAME=tds-ios.json \
TDS_UT_URL=${{ inputs.ios_s3_url }} \
TDS_REF_FILE_NAME=tds-ios.json \
TDS_REF_URL=https://staticcdn.duckduckgo.com/trackerblocking/v5/current/ \
xcodebuild test-without-building \
-scheme TrackerRadarKit \
-destination 'platform=macOS' \
-only-testing:TrackerRadarKitPerformanceTests/NextTrackerDataSetPerformanceTests
- name: Run performance test (macOS)
run: |
env TDS_UT_FILE_NAME=tds-macos.json \
TDS_UT_URL=${{ inputs.macos_s3_url }} \
TDS_REF_FILE_NAME=tds-macos.json \
TDS_REF_URL=https://staticcdn.duckduckgo.com/trackerblocking/v6/current/ \
xcodebuild test-without-building \
-scheme TrackerRadarKit \
-destination 'platform=macOS' \
-only-testing:TrackerRadarKitPerformanceTests/NextTrackerDataSetPerformanceTests