Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Private Nuget Feed for OneBranch #4557

Merged
merged 3 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .azure/nuget.config
Original file line number Diff line number Diff line change
@@ -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>
8 changes: 8 additions & 0 deletions .azure/obtemplates/build-winkernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion scripts/onebranch-build-kernel.cmd
Original file line number Diff line number Diff line change
@@ -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%
Loading