-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Nuget publishing jobs (#18851)
### Description 1. Add a CodeSign validation task before the binaries are published, to make sure all DLL files are signed. 2. Auto-trigger the CUDA 12 pipeline's publishing job.
- Loading branch information
Showing
3 changed files
with
96 additions
and
49 deletions.
There are no files selected for viewing
28 changes: 13 additions & 15 deletions
28
tools/ci_build/github/azure-pipelines/nuget-cuda-publishing-pipeline.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,22 @@ | ||
resources: | ||
pipelines: | ||
- pipeline: build | ||
source: 'Nuget-CUDA-Packaging-Pipeline' | ||
trigger: | ||
branches: | ||
include: | ||
- main | ||
branch: main | ||
|
||
parameters: | ||
- name: nightly | ||
type: string | ||
default: '1' | ||
- name: build_id | ||
type: string | ||
default: 'latest' | ||
- name: project | ||
type: string | ||
default: 'Lotus' | ||
- name: pipeline | ||
type: string | ||
default: 'Nuget-CUDA-Packaging-Pipeline' | ||
type: boolean | ||
default: true | ||
|
||
stages: | ||
- template: stages/nuget-cuda-publishing-stage.yml | ||
parameters: | ||
build_id: ${{ parameters.build_id }} | ||
project: ${{ parameters.project }} | ||
pipeline: ${{ parameters.pipeline }} | ||
${{ if ne(parameters.nightly, '1') }}: | ||
${{ if ne(parameters.nightly, true) }}: | ||
artifact_feed: onnxruntime-cuda-12 | ||
${{ else }}: | ||
artifact_feed: ort-cuda-12-nightly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 44 additions & 32 deletions
76
tools/ci_build/github/azure-pipelines/stages/nuget-cuda-publishing-stage.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters