From 16eb60ee38e41cd98b1985ccbed519c3ed79367b Mon Sep 17 00:00:00 2001 From: Jamey Pearce Date: Sun, 20 Sep 2020 01:57:33 -0400 Subject: [PATCH 1/5] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000000..baa309dd682d --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,39 @@ +# .NET Desktop +# Build and run tests for .NET Desktop or Windows classic desktop solutions. +# Add steps that publish symbols, save build artifacts, and more: +# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net + +trigger: +- master + +pool: + vmImage: 'windows-latest' + +variables: + solution: '**/*.sln' + buildPlatform: 'Any CPU' + buildConfiguration: 'Release' + +steps: +- task: UpdateGitSubmodules@1 + inputs: + script: | + echo init git submodules + git submodule update --init + +- task: NuGetToolInstaller@1 + +- task: NuGetCommand@2 + inputs: + restoreSolution: '$(solution)' + +- task: VSBuild@1 + inputs: + solution: '$(solution)' + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' + +- task: VSTest@2 + inputs: + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' From 7df0c12fec5f3bddbd39e0b52ba11596a95b7317 Mon Sep 17 00:00:00 2001 From: Jamey Pearce Date: Sun, 20 Sep 2020 01:59:34 -0400 Subject: [PATCH 2/5] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index baa309dd682d..501b857fe1e2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,7 +15,7 @@ variables: buildConfiguration: 'Release' steps: -- task: UpdateGitSubmodules@1 +- task: CmdLine@1 inputs: script: | echo init git submodules From 5615015d52e7b908f2e11c2ad2128e9b857fc377 Mon Sep 17 00:00:00 2001 From: Jamey Pearce Date: Sun, 20 Sep 2020 02:07:54 -0400 Subject: [PATCH 3/5] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 501b857fe1e2..73bfeab8274f 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,11 +15,6 @@ variables: buildConfiguration: 'Release' steps: -- task: CmdLine@1 - inputs: - script: | - echo init git submodules - git submodule update --init - task: NuGetToolInstaller@1 From 222e9051c011dbd3f73e62eaf29e98d7c08057d6 Mon Sep 17 00:00:00 2001 From: Jamey Pearce Date: Sun, 20 Sep 2020 02:12:42 -0400 Subject: [PATCH 4/5] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 73bfeab8274f..6ffb73a521a7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,7 +11,7 @@ pool: variables: solution: '**/*.sln' - buildPlatform: 'Any CPU' + buildPlatform: 'x64' buildConfiguration: 'Release' steps: From 3c7198b85f312f03f501732f73fefea646ac36a2 Mon Sep 17 00:00:00 2001 From: Jamey Pearce Date: Sun, 20 Sep 2020 02:24:18 -0400 Subject: [PATCH 5/5] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6ffb73a521a7..7df7f2703376 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,7 +4,7 @@ # https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net trigger: -- master +- freelook_controller pool: vmImage: 'windows-latest'