From ee9b27653e59106a6d32cc4ab71ce3134da70edb Mon Sep 17 00:00:00 2001 From: Jason Ginchereau Date: Fri, 23 Feb 2024 09:47:02 -1000 Subject: [PATCH] 1ES build pipeline --- setup/build.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 setup/build.yml diff --git a/setup/build.yml b/setup/build.yml new file mode 100644 index 0000000..ca573e2 --- /dev/null +++ b/setup/build.yml @@ -0,0 +1,44 @@ +trigger: none + +# The `resources` specify the location and version of the 1ES pipeline template. +resources: + repositories: + - repository: 1esPipelines + type: git + name: 1ESPipelineTemplates/1ESPipelineTemplates + ref: refs/tags/release + +extends: + # The pipeline extends the 1ES template which will inject different SDL and compliance tasks. + template: v1/1ES.Unofficial.PipelineTemplate.yml@1esPipelines + parameters: + pool: + name: VSEngSS-MicroBuild2019-1ES + stages: + - stage: Stage + jobs: + - job: HostJob + templateContext: + outputs: + - output: pipelineArtifact + targetPath: $(System.DefaultWorkingDirectory)\$(BuildConfiguration)\*.msi + steps: + - checkout: self + clean: true + fetchTags: true + - task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@1 + displayName: Install Signing Plugin + inputs: + signType: real + - task: NuGetCommand@2 + displayName: Restore NuGet Packages + inputs: + solution: setup\*.sln + feedRestore: 795cdb14-9c0f-490d-965b-8b2799c1b60a + - task: VSBuild@1 + displayName: Build Solution + inputs: + solution: setup\*.sln + vsVersion: 16.0 + platform: $(BuildPlatform) + configuration: $(BuildConfiguration)