Skip to content

Commit 12c7a31

Browse files
committed
[ci] Add API Compatibility job to Azure Pipelines
Context: #3607 Adds a new job to the Azure Pipelines 'Test' stage which downloads, installs, and runs API compatibility checks against the .pkg installer produced by the macOS build job.
1 parent 8089c1b commit 12c7a31

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

build-tools/automation/azure-pipelines.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,30 @@ stages:
317317
displayName: Test
318318
dependsOn: mac_build
319319
jobs:
320+
# Check - "Xamarin.Android (Test API Compatibility)"
321+
- job: mac_api_compat
322+
displayName: API Compatibility
323+
pool: $(XA.Build.Mac.Pool)
324+
timeoutInMinutes: 60
325+
cancelTimeoutInMinutes: 5
326+
workspace:
327+
clean: all
328+
steps:
329+
- checkout: self
330+
submodules: recursive
331+
332+
- template: yaml-templates/run-installer.yaml
333+
334+
- script: |
335+
make prepare-update-mono PREPARE_CI=1 V=1 PREPARE_AUTOPROVISION=1 CONFIGURATION=$(XA.Build.Configuration)
336+
make prepare PREPARE_CI=1 PREPARE_AUTOPROVISION=1 V=1 CONFIGURATION=$(XA.Build.Configuration)
337+
displayName: make prepare
338+
339+
- script: >
340+
make run-api-compatibility-tests V=1 CONFIGURATION=$(XA.Build.Configuration)
341+
FRAMEWORK_DIR=/Library/Frameworks/Xamarin.Android.framework/Versions/Current/lib/xamarin.android/xbuild-frameworks/MonoAndroid
342+
displayName: make run-api-compatibility-tests
343+
320344
# Check - "Xamarin.Android (Test APK Instrumentation)"
321345
- job: mac_apk_tests
322346
displayName: APK Instrumentation

0 commit comments

Comments
 (0)