Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions CI/azure-pipelines-linux.yml

This file was deleted.

45 changes: 0 additions & 45 deletions CI/azure-pipelines-mac.yml

This file was deleted.

5 changes: 5 additions & 0 deletions CI/job_templates/build_drawing_libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
inputs:
packageType: 'sdk'
version: '7.x'
- task: UseDotNet@2
displayName: 'Install .NET7 sdk'
inputs:
packageType: 'sdk'
version: '8.x'
# Build
- task: DotNetCoreCLI@2
displayName: Restore Solution NuGet Packages
Expand Down
30 changes: 29 additions & 1 deletion CI/azure-pipelines-windows.yml β†’ CI/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ pr:
exclude:
- NuGet

parameters:
- name: testWindows
displayName: Test Windows
type: boolean
default: True
- name: testLinux
displayName: Test Linux
type: boolean
default: True
- name: testMacOS
displayName: Test macOS
type: boolean
default: True

pool:
vmImage: 'windows-latest'
Expand All @@ -38,9 +51,24 @@ stages:
parameters:
publishAssemblies: false
buildConfiguration: $(buildConfiguration)
## Execute Unit Tests
## Execute Windows Unit Tests
- template: stage_templates/run_tests_on_pool.yml
parameters:
OSPlatform: 'Windows'
pool:
vmImage: 'windows-latest'
runUnitTests: ${{ parameters.testWindows }}
## Execute Linux Unit Tests
- template: stage_templates/run_tests_on_pool.yml
parameters:
OSPlatform: 'Ubuntu'
pool:
vmImage: 'ubuntu-latest'
runUnitTests: ${{ parameters.testLinux }}
## Execute macOS Unit Tests
- template: stage_templates/run_tests_on_pool.yml
parameters:
OSPlatform: 'MacOs'
pool:
vmImage: 'macOS-latest'
runUnitTests: ${{ parameters.testMacOS }}