File tree Expand file tree Collapse file tree 2 files changed +4
-13
lines changed
tools/ci_build/github/azure-pipelines Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,8 @@ extends:
17
17
name : onnxruntime-Win-CPU-2022
18
18
os : windows
19
19
sdl :
20
- git :
21
- submodules : false
22
20
tsa :
23
21
enabled : true
24
- codeSignValidation :
25
- enabled : true
26
- break : true
27
22
policheck :
28
23
enabled : true
29
24
exclusionsFile : ' $(Build.SourcesDirectory)\tools\ci_build\policheck_exclusions.xml'
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ parameters:
11
11
12
12
jobs :
13
13
- job : Windows_Packaging_${{ parameters.BuildArch }}_${{ parameters.Runtime }}
14
- timeoutInMinutes : 180
15
14
templateContext :
16
15
outputs :
17
16
- output : pipelineArtifact
@@ -25,16 +24,11 @@ jobs:
25
24
26
25
- task : UsePythonVersion@0
27
26
inputs :
28
- versionSpec : ' 3.12 '
27
+ versionSpec : ' 3.9 '
29
28
addToPath : true
30
29
${{ if eq(parameters.BuildArch, 'x86') }} :
31
30
architecture : ' x86'
32
31
33
- - task : PipAuthenticate@1
34
- displayName : ' Pip Authenticate'
35
- inputs :
36
- artifactFeeds : ' Lotus'
37
-
38
32
- template : telemetry-steps.yml
39
33
40
34
- task : NuGetCommand@2
88
82
89
83
# must call vsdevcmd first to add cmake to PATH
90
84
- script : |
85
+ curl -O -L https://github.com/Kitware/CMake/releases/download/v3.28.3/cmake-3.28.3-windows-x86_64.zip
86
+ 7z x cmake-3.28.3-windows-x86_64.zip
91
87
python --version
92
- python "$(Build.SourcesDirectory)\tools\ci_build\build.py" --build_dir $(Build.BinariesDirectory) --parallel --use_binskim_compliant_compile_flags --build_shared_lib --enable_onnx_tests --ms_experimental --use_dml --use_winml --cmake_generator "Visual Studio 17 2022" --update --config RelWithDebInfo --enable_lto --use_telemetry --disable_rtti --enable_wcos --windows_sdk_version "10.0.22621.0" $(BuildFlags) --cmake_extra_defines "CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO=/PROFILE" "CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO=/PROFILE"
88
+ python "$(Build.SourcesDirectory)\tools\ci_build\build.py" --build_dir $(Build.BinariesDirectory) --parallel --use_binskim_compliant_compile_flags --build_shared_lib --enable_onnx_tests --ms_experimental --use_dml --use_winml --cmake_generator "Visual Studio 17 2022" --update --config RelWithDebInfo --enable_lto --use_telemetry --disable_rtti --enable_wcos --windows_sdk_version "10.0.22621.0" $(BuildFlags) --cmake_extra_defines "CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO=/PROFILE" "CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO=/PROFILE" --cmake_path $(Build.BinariesDirectory)\cmake-3.28.3-windows-x86_64\bin\cmake.exe --ctest_path $(Build.BinariesDirectory)\cmake-3.28.3-windows-x86_64\bin\ctest.exe
93
89
workingDirectory: '$(Build.BinariesDirectory)'
94
90
displayName: 'Generate cmake config'
95
91
You can’t perform that action at this time.
0 commit comments