зеркало из https://github.com/microsoft/msquic.git
44 строки
1.1 KiB
YAML
44 строки
1.1 KiB
YAML
# This template contains steps to build msquic.sys for a single architecture.
|
|
|
|
parameters:
|
|
arch: ''
|
|
config: 'Release'
|
|
|
|
jobs:
|
|
- job: build_winkernel_${{ parameters.arch }}
|
|
displayName: ${{ parameters.arch }} ${{ parameters.config }}
|
|
pool:
|
|
vmImage: windows-2022
|
|
steps:
|
|
- checkout: self
|
|
path: msquic
|
|
|
|
- task: PowerShell@2
|
|
displayName: Prepare Build Machine
|
|
inputs:
|
|
pwsh: true
|
|
filePath: scripts/prepare-machine.ps1
|
|
arguments: -ForBuild -ForKernel
|
|
|
|
- task: NuGetCommand@2
|
|
displayName: Nuget Restore
|
|
inputs:
|
|
restoreSolution: msquic.kernel.sln
|
|
|
|
- task: VSBuild@1
|
|
displayName: Build Source Code
|
|
inputs:
|
|
solution: msquic.kernel.sln
|
|
platform: ${{ parameters.arch }}
|
|
configuration: ${{ lower(parameters.config) }}
|
|
msbuildArgs: /p:QUIC_VER_SUFFIX=-official /p:QUIC_VER_BUILD_ID=$(Build.BuildId) /p:QUIC_VER_GIT_HASH=$(Build.SourceVersion)
|
|
|
|
- task: PowerShell@2
|
|
displayName: Sign Drivers
|
|
inputs:
|
|
pwsh: true
|
|
filePath: scripts/sign.ps1
|
|
arguments: -Arch ${{ parameters.arch }} -Config ${{ parameters.config }} -Tls Schannel
|
|
|
|
- template: ./upload-artifacts.yml
|