зеркало из https://github.com/microsoft/msquic.git
Use Private Nuget Feed for OneBranch (#4557)
This commit is contained in:
Родитель
44ff05ab7f
Коммит
ee4a1bcfb0
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<clear />
|
||||
<add key="msquic_PublicPackages" value="https://pkgs.dev.azure.com/mscodehub/msquic/_packaging/msquic_PublicPackages/nuget/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
|
@ -13,6 +13,14 @@ jobs:
|
|||
ob_sdl_codeSignValidation_excludes: -|**\*.sys # Disable signing requirements for KM builds
|
||||
ob_spgo_enabled: true # Enable SPGO
|
||||
steps:
|
||||
- task: NuGetCommand@2
|
||||
displayName: Nuget Restore
|
||||
target: windows_build_container2
|
||||
inputs:
|
||||
command: 'restore'
|
||||
restoreSolution: msquic.kernel.sln
|
||||
feedsToUse: 'config'
|
||||
nugetConfigPath: .\.azure\nuget.config
|
||||
- script: scripts\onebranch-build-kernel.cmd ${{ parameters.config }} x64
|
||||
displayName: x64
|
||||
target: windows_build_container2
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat
|
||||
msbuild msquic.kernel.sln -t:restore -p:RestorePackagesConfig=true /p:Configuration=%1 /p:Platform=%2
|
||||
msbuild msquic.kernel.sln -p:ONEBRANCH_BUILD=true /p:Configuration=%1 /p:Platform=%2 /p:QUIC_VER_SUFFIX=-official /p:QUIC_VER_BUILD_ID=%BUILD_BUILDID% /p:QUIC_VER_GIT_HASH=%BUILD_SOURCEVERSION%
|
||||
|
|
Загрузка…
Ссылка в новой задаче