diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f7a35cf..1f61a94 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -13,10 +13,10 @@ pr: resources: repositories: - - repository: M365GPT + - repository: odspPipelines type: git - name: 1ESPipelineTemplates/M365GPT - ref: refs/tags/release + name: EFun/ODSPTemplates + ref: refs/heads/main variables: - name: toolchainFeed @@ -25,28 +25,24 @@ variables: value: sparse+https://onedrive.pkgs.visualstudio.com/b52099a6-3b13-4b08-9270-a07884a10e3d/_packaging/RustCratesIO/Cargo/index/ extends: - template: v1/1ES.Official.PipelineTemplate.yml@M365GPT + template: v1/OdspPipeline.yml@odspPipelines parameters: + settings: + template: Official sdl: clippy: enabled: false - sourceAnalysisPool: - # SDL tools only support Windows. - name: Azure-Pipelines-1ESPT-ExDShared - os: windows - image: windows-latest stages: ## For more details on the Rust build workflow, see https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/1es-pipeline-templates/features/buildworkflows/rust - stage: BuildStage displayName: 🏗️ Cargo build + pool: + name: 1ESHostedAgents_Windows2022_v2 + os: windows jobs: - job: BuildJob displayName: 🏗️ Cargo build - pool: - name: Azure-Pipelines-1ESPT-ExDShared - os: windows - image: windows-latest templateContext: type: buildJob workflow: Rust