diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 06cd17686e1b..9bc567b67d11 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,10 +3,29 @@ # Add steps that publish test results, save build artifacts, deploy, and more: # https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc +pr: +- master +- 202??? +- 201??? + trigger: + batch: true + branches: + include: + - master + - 202??? + - 201??? + +# this part need to be set in UI +schedules: +- cron: "0 0 * * 6" + displayName: Weekly build branches: include: - - "*" + - master + - 202??? + - 201??? + always: true stages: - stage: Build