resources: pipelines: - pipeline: build source: 'Nuget - Packaging - CUDA13' trigger: true branch: main repositories: - repository: 1esPipelines type: git name: 1ESPipelineTemplates/1ESPipelineTemplates ref: refs/tags/release variables: mavenVersion: '3.9.8' extends: # The pipeline extends the 1ES PT which will inject different SDL and compliance tasks. # For non-production pipelines, use "Unofficial" as defined below. # For productions pipelines, use "Official". template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines parameters: featureFlags: binskimScanAllExtensions: true sdl: binskim: enabled: true scanOutputDirectoryOnly: true sourceAnalysisPool: name: onnxruntime-Win-CPU-2022 os: windows componentgovernance: ignoreDirectories: '$(Build.Repository.LocalPath)/cmake/external/emsdk/upstream/emscripten/tests,$(Build.Repository.LocalPath)/cmake/external/onnx/third_party/benchmark,$(Build.Repository.LocalPath)/cmake/external/onnx/third_party/pybind11,$(Build.Repository.LocalPath)/cmake/external/onnx/third_party/pybind11/tests,$(Build.Repository.LocalPath)/cmake/external/onnxruntime-extensions,$(Build.Repository.LocalPath)/js/react_native/e2e/node_modules,$(Build.Repository.LocalPath)/js/node_modules,$(Build.Repository.LocalPath)/onnxruntime-inference-examples,$(Build.SourcesDirectory)/cmake/external/emsdk/upstream/emscripten/tests,$(Build.SourcesDirectory)/cmake/external/onnx/third_party/benchmark,$(Build.SourcesDirectory)/cmake/external/onnx/third_party/pybind11,$(Build.SourcesDirectory)/cmake/external/onnx/third_party/pybind11/tests,$(Build.SourcesDirectory)/cmake/external/onnxruntime-extensions,$(Build.SourcesDirectory)/js/react_native/e2e/node_modules,$(Build.SourcesDirectory)/js/node_modules,$(Build.SourcesDirectory)/onnxruntime-inference-examples,$(Build.BinariesDirectory)' spotBugs: enabled: false justificationForDisabling: "Getting ##[error]1. SpotBugs Error gdn.unknownFormatResult - File: spotbugs.xml, which indicates that SpotBugs found one or more errors, which are not handled by the Guardian right now." codeql: compiled: enabled: false justificationForDisabling: 'CodeQL is taking nearly 6 hours resulting in timeouts in our production pipelines' tsa: enabled: true codeSignValidation: enabled: true break: true policheck: enabled: true exclusionsFile: '$(Build.SourcesDirectory)\tools\ci_build\policheck_exclusions.xml' stages: - template: templates/final-jar-testing-win.yml parameters: PoolName: 'onnxruntime-Win-CPU-2022' - template: templates/final-jar-testing-linux.yml parameters: OS: linux PoolName: 'onnxruntime-Ubuntu2204-AMD-CPU' - template: templates/final-jar-testing-linux.yml parameters: OS: macOS PoolName: 'AcesShared' PoolDemands: 'ImageOverride -equals ACES_VM_SharedPool_Sequoia' - template: templates/final-jar-testing-gpu.yml