Skip to content

Commit

Permalink
Update triggers for ADO to reduce overlap with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Jul 28, 2024
1 parent 26f954d commit 24b25a2
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 74 deletions.
2 changes: 1 addition & 1 deletion build/DirectXTK12-GitHub-CMake-Dev17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# http://go.microsoft.com/fwlink/?LinkID=615561

# Builds the library using CMake.
# Builds the library using CMake with VS Generator (GitHub Actions covers Ninja).

schedules:
- cron: "0 6 * * *"
Expand Down
2 changes: 1 addition & 1 deletion build/DirectXTK12-GitHub-CMake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# http://go.microsoft.com/fwlink/?LinkID=615561

# Builds the library using CMake.
# Builds the library using CMake with VS Generator (GitHub Actions covers Ninja).

schedules:
- cron: "0 6 * * *"
Expand Down
39 changes: 4 additions & 35 deletions build/DirectXTK12-GitHub-Dev17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,46 +12,15 @@ schedules:
include:
- main

trigger:
branches:
include:
- main
paths:
exclude:
- '*.md'
- LICENSE
- CMake*
- '.github/*'
- '.nuget/*'
- build/*.cmake
- build/*.cmd
- build/*.in
- build/*.json
- build/*.props
- build/*.ps1
- build/*.targets
- build/*.xvd

# GitHub Actions handles MSBuild for CI/PR
trigger: none
pr:
branches:
include:
- main
paths:
exclude:
- '*.md'
- LICENSE
- CMake*
- '.github/*'
- '.nuget/*'
- build/*.cmake
- build/*.cmd
- build/*.in
- build/*.json
- build/*.props
- build/*.ps1
- build/*.targets
- build/*.xvd
drafts: false
include:
- build/DirectXTK12-GitHub-Dev17.yml

resources:
repositories:
Expand Down
41 changes: 5 additions & 36 deletions build/DirectXTK12-GitHub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,52 +6,21 @@
# Builds the library for Windows Desktop and UWP.

schedules:
- cron: "0 5 * * *"
- cron: "5 5 * * *"
displayName: 'Nightly build'
branches:
include:
- main

trigger:
branches:
include:
- main
paths:
exclude:
- '*.md'
- LICENSE
- CMake*
- '.github/*'
- '.nuget/*'
- build/*.cmake
- build/*.cmd
- build/*.in
- build/*.json
- build/*.props
- build/*.ps1
- build/*.targets
- build/*.xvd

# GitHub Actions handles MSBuild for CI/PR
trigger: none
pr:
branches:
include:
- main
paths:
exclude:
- '*.md'
- LICENSE
- CMake*
- '.github/*'
- '.nuget/*'
- build/*.cmake
- build/*.cmd
- build/*.in
- build/*.json
- build/*.props
- build/*.ps1
- build/*.targets
- build/*.xvd
drafts: false
include:
- build/DirectXTK12-GitHub.yml

resources:
repositories:
Expand Down
9 changes: 8 additions & 1 deletion build/DirectXTK12-SDL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,15 @@ schedules:
include:
- main

# GitHub Actions handles CodeQL and PREFAST for CI/PR
trigger: none
pr: none
pr:
branches:
include:
- main
paths:
include:
- build/DirectXTK12-SDL.yml

resources:
repositories:
Expand Down

0 comments on commit 24b25a2

Please sign in to comment.