Skip to content

Commit

Permalink
Split tests and samples into a new pipeline (#1963)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow authored Mar 3, 2022
1 parent 657aa9d commit 7daeac4
Show file tree
Hide file tree
Showing 12 changed files with 1,214 additions and 969 deletions.
48 changes: 48 additions & 0 deletions scripts/azure-pipelines-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
trigger: none

pr: none

parameters:
- name: buildExternals
displayName: 'The specific native artifacts to use for this build.'
type: number
default: 0
- name: VM_IMAGE_WINDOWS
type: object
default:
name: Azure Pipelines
vmImage: windows-2022
- name: VM_IMAGE_MAC
type: object
default:
name: Azure Pipelines
vmImage: macOS-10.15
- name: VM_IMAGE_LINUX
type: object
default:
name: Azure Pipelines
vmImage: ubuntu-18.04

variables:
- template: azure-pipelines-variables.yml

resources:
repositories:
- repository: xamarin-templates
type: github
name: xamarin/yaml-templates
endpoint: xamarin
ref: refs/heads/main
pipelines:
- pipeline: SkiaSharp
source: SkiaSharp
trigger: true

stages:
- template: azure-templates-stages.yml
parameters:
isBuildPipeline: false
buildExternals: ${{ parameters.buildExternals }}
VM_IMAGE_WINDOWS: ${{ parameters.VM_IMAGE_WINDOWS }}
VM_IMAGE_MAC: ${{ parameters.VM_IMAGE_MAC }}
VM_IMAGE_LINUX: ${{ parameters.VM_IMAGE_LINUX }}
25 changes: 25 additions & 0 deletions scripts/azure-pipelines-variables.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
variables:
SKIASHARP_VERSION: 2.88.0
FEATURE_NAME_PREFIX: 'feature/'
VERBOSITY: normal
GIT_SHA: $(Build.SourceVersion)
GIT_BRANCH_NAME: $(Build.SourceBranch)
GIT_URL: $(Build.Repository.Uri)
FEATURE_NAME: ''
PREVIEW_LABEL: 'preview'
BUILD_NUMBER: $[counter(format('_{0}_{1}_{2}__', variables['SKIASHARP_VERSION'], variables['Build.SourceBranch'], variables['PREVIEW_LABEL']), 1)]
TIZEN_LINUX_PACKAGES: libxcb-xfixes0 libxcb-render-util0 libwebkitgtk-1.0-0 libxcb-image0 acl libsdl1.2debian libv4l-0 libxcb-randr0 libxcb-shape0 libxcb-icccm4 libsm6 gettext rpm2cpio cpio bridge-utils openvpn
MANAGED_LINUX_PACKAGES: ttf-ancient-fonts ninja-build
MONO_VERSION_MACOS: '6_12_7'
MONO_VERSION_LINUX: ''
XCODE_VERSION: 12.4
DOTNET_VERSION_PREVIOUS: 3.1.416
DOTNET_VERSION: 5.0.405
DOTNET_VERSION_PREVIEW: '6.0.200-rtm.22107.3'
DOTNET_WORKLOAD_SOURCE: 'https://aka.ms/dotnet/maui/6.0.200/preview.14.json'
CONFIGURATION: 'Release'
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
THROW_ON_TEST_FAILURE: true
NUGET_DIFF_PRERELEASE: false
ENABLE_CODE_COVERAGE: true
EMSCRIPTEN_VERSION: 2.0.23
Loading

0 comments on commit 7daeac4

Please sign in to comment.