onnxruntime/tools/ci_build/github/azure-pipelines
Jian Chen d1cbb3e076
The time for nuget pkg should be consistent (#20522)
This pull request primarily involves changes to the build scripts in the
`tools/ci_build/github/azure-pipelines` directory. The changes add build
date and time information to the build process. This is achieved by
introducing two new parameters, `BuildDate` and `BuildTime`, and
incorporating them into the `msbuildArguments` in multiple locations.

Addition of new parameters:

*
[`tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml`](diffhunk://#diff-00815920cc190d10fdebceac0c3a4b8a59e408684ae38177dfe7f96cae276c59R309-R310):
Added `BuildDate` and `BuildTime` parameters using the pipeline's start
time.

Incorporation of new parameters in `msbuildArguments`:

*
[`tools/ci_build/github/azure-pipelines/c-api-noopenmp-packaging-pipelines.yml`](diffhunk://#diff-efb530efd945fdd9d3e1b92e53d25cc8db7df2e28071c364b07a7193092de01bL947-R948):
Added `CurrentDate` and `CurrentTime` parameters to `msbuildArguments`
in multiple locations.
[[1]](diffhunk://#diff-efb530efd945fdd9d3e1b92e53d25cc8db7df2e28071c364b07a7193092de01bL947-R948)
[[2]](diffhunk://#diff-efb530efd945fdd9d3e1b92e53d25cc8db7df2e28071c364b07a7193092de01bL1092-R1093)
[[3]](diffhunk://#diff-efb530efd945fdd9d3e1b92e53d25cc8db7df2e28071c364b07a7193092de01bL1114-R1115)
[[4]](diffhunk://#diff-efb530efd945fdd9d3e1b92e53d25cc8db7df2e28071c364b07a7193092de01bL1137-R1138)
*
[`tools/ci_build/github/azure-pipelines/templates/c-api-cpu.yml`](diffhunk://#diff-00815920cc190d10fdebceac0c3a4b8a59e408684ae38177dfe7f96cae276c59L446-R448):
Incorporated the `CurrentDate` and `CurrentTime` parameters into
`msbuildArguments`.### Description
<!-- Describe your changes. -->



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
2024-05-09 11:35:45 -07:00
..
nodejs/templates [Node.js binding] Allow installation to download CUDA binaries via script (#20364) 2024-04-18 13:44:42 -07:00
nuget/templates The time for nuget pkg should be consistent (#20522) 2024-05-09 11:35:45 -07:00
stages [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
templates The time for nuget pkg should be consistent (#20522) 2024-05-09 11:35:45 -07:00
triggers
android-arm64-v8a-QNN-crosscompile-ci-pipeline.yml [QNN EP] Update QNN SDK to 2.21 (#20534) 2024-05-01 20:17:35 -07:00
android-x86_64-crosscompile-ci-pipeline.yml Clarify when protobuf dependency builds protoc (#20542) 2024-05-08 08:30:11 +10:00
bigmodels-ci-pipeline.yml [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
binary-size-checks-pipeline.yml
build-perf-test-binaries-pipeline.yml
c-api-noopenmp-packaging-pipelines.yml The time for nuget pkg should be consistent (#20522) 2024-05-09 11:35:45 -07:00
clean-build-docker-image-cache-pipeline.yml
cuda-packaging-pipeline.yml [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
linux-ci-pipeline.yml Revert "Nuget .NET changes for Mac Catalyst (#19923)" (#20418) 2024-04-23 15:08:12 +08:00
linux-cpu-aten-pipeline.yml
linux-cpu-eager-pipeline.yml
linux-cpu-minimal-build-ci-pipeline.yml Change "onnxruntime-Linux-CPU-For-Android-CI" machine pool to "onnxruntime-Ubuntu2204-AMD-CPU" (#19698) 2024-02-28 19:36:26 -08:00
linux-dnnl-ci-pipeline.yml
linux-gpu-ci-pipeline.yml fix gqa cpu nan bug (#20521) 2024-05-07 15:19:26 -07:00
linux-gpu-tensorrt-ci-pipeline.yml [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
linux-gpu-tensorrt-daily-perf-pipeline.yml [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
linux-migraphx-ci-pipeline.yml [ROCm] Remove MPI dependency and collectives to use NCCL (#19830) 2024-03-19 17:35:18 -07:00
linux-openvino-ci-pipeline.yml OpenVINO EP Rel 1.18 Changes (#20337) 2024-04-19 00:31:38 -07:00
linux-qnn-ci-pipeline.yml [QNN EP] Update QNN SDK to 2.21 (#20534) 2024-05-01 20:17:35 -07:00
mac-ci-pipeline.yml
mac-coreml-ci-pipeline.yml Switch a portion of CI/packaging jobs to MacOS12 (#19908) 2024-03-19 14:54:58 -07:00
mac-ios-ci-pipeline.yml Switch a portion of CI/packaging jobs to MacOS12 (#19908) 2024-03-19 14:54:58 -07:00
mac-ios-packaging-pipeline.yml Switch a portion of CI/packaging jobs to MacOS12 (#19908) 2024-03-19 14:54:58 -07:00
mac-objc-static-analysis-ci-pipeline.yml Fix training and macos ci pipelines (#20034) 2024-03-26 12:20:11 -07:00
mac-react-native-ci-pipeline.yml Change "onnxruntime-Linux-CPU-For-Android-CI" machine pool to "onnxruntime-Ubuntu2204-AMD-CPU" (#19698) 2024-02-28 19:36:26 -08:00
npm-packaging-pipeline.yml
nuget-cuda-publishing-pipeline.yml
orttraining-linux-ci-pipeline.yml
orttraining-linux-gpu-ci-pipeline.yml
orttraining-linux-gpu-ortmodule-distributed-test-ci-pipeline.yml
orttraining-linux-nightly-ortmodule-test-pipeline.yml
orttraining-mac-ci-pipeline.yml
orttraining-pai-ci-pipeline.yml
orttraining-py-packaging-pipeline-cpu.yml [Fix] Error Python Packaging Pipeline (Training CPU) (#19992) 2024-03-20 09:02:50 -07:00
orttraining-py-packaging-pipeline-cuda.yml Reuse T4 for Cuda12.2 training packaging pipeline. (#20244) 2024-04-10 09:21:40 +08:00
orttraining-py-packaging-pipeline-cuda12.yml Set parallel count to avoid OOM in training GPU packaging pipeline (#20255) 2024-04-10 14:05:53 +08:00
orttraining-py-packaging-pipeline-rocm.yml
post-merge-jobs.yml [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
publish-nuget.yml
py-cuda-package-test-pipeline.yml
py-cuda-packaging-pipeline.yml Refactor Python CUDA packaging pipeline to fix random hangs in building (#19989) 2024-03-22 09:16:00 +08:00
py-cuda-publishing-pipeline.yml
py-package-build-pipeline.yml OpenVINO EP Rel 1.18 Changes (#20337) 2024-04-19 00:31:38 -07:00
py-package-test-pipeline.yml Fix training and macos ci pipelines (#20034) 2024-03-26 12:20:11 -07:00
py-packaging-pipeline.yml [QNN EP] Update QNN SDK to 2.21 (#20534) 2024-05-01 20:17:35 -07:00
qnn-ep-nuget-packaging-pipeline.yml [QNN EP] Update QNN SDK to 2.21 (#20534) 2024-05-01 20:17:35 -07:00
web-ci-pipeline.yml
win-ci-fuzz-testing.yml Run fuzz testing before the CG task cleans up the build directory (#20500) 2024-04-29 16:02:53 +10:00
win-ci-pipeline.yml Install ONNX by buildling source code in Windows DML stage (#20079) 2024-03-27 12:29:34 -07:00
win-gpu-ci-pipeline.yml Enable CUDA EP unit testing on Windows (#20039) 2024-03-27 13:32:36 -07:00
win-gpu-reduce-op-ci-pipeline.yml
win-gpu-tensorrt-ci-pipeline.yml [TensorRT EP] support TensorRT 10-GA (#20506) 2024-05-01 11:10:53 -07:00
win-qnn-arm64-ci-pipeline.yml [QNN EP] Update QNN SDK to 2.21 (#20534) 2024-05-01 20:17:35 -07:00
win-qnn-ci-pipeline.yml [QNN EP] Update QNN SDK to 2.21 (#20534) 2024-05-01 20:17:35 -07:00