39 lines
831 B
YAML
39 lines
831 B
YAML
# Starter pipeline
|
|
# Start with a minimal pipeline that you can customize to build and deploy your code.
|
|
# Add steps that build, run tests, deploy, and more:
|
|
# https://aka.ms/yaml
|
|
|
|
trigger:
|
|
- master
|
|
|
|
jobs:
|
|
- job: Mac
|
|
pool:
|
|
name: 'AvaloniaMacPool'
|
|
|
|
steps:
|
|
- script: ./tests/Avalonia.IntegrationTests.Appium/macos-clean-build-test.sh
|
|
displayName: 'run integration tests'
|
|
|
|
|
|
- job: Windows
|
|
pool:
|
|
vmImage: 'windows-2022'
|
|
|
|
steps:
|
|
- task: Windows Application Driver@0
|
|
inputs:
|
|
OperationType: 'Start'
|
|
AgentResolution: '1080p'
|
|
displayName: 'Start WinAppDriver'
|
|
|
|
- task: DotNetCoreCLI@2
|
|
inputs:
|
|
command: 'test'
|
|
projects: 'tests/Avalonia.IntegrationTests.Appium/'
|
|
|
|
- task: Windows Application Driver@0
|
|
inputs:
|
|
OperationType: 'Stop'
|
|
displayName: 'Stop WinAppDriver'
|