This commit is contained in:
Nick Banks 2022-03-15 08:10:24 -04:00 коммит произвёл GitHub
Родитель 17ee580bb3
Коммит 97f7d87ac1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
5 изменённых файлов: 72 добавлений и 128 удалений

Просмотреть файл

@ -1,49 +0,0 @@
#
# This pipeline builds the MsQuic related plugin code.
#
trigger:
branches:
include:
- main
- release/*
paths:
include:
- .azure/*
- src/plugins/*
exclude:
- .azure/obtemplates/*
- .azure/OneBranch*
pr:
branches:
include:
- main
- release/*
paths:
include:
- .azure/*
- src/plugins/*
exclude:
- .azure/obtemplates/*
- .azure/OneBranch*
name: 0.$(Date:yyyy).$(Date:MM).$(DayOfMonth).$(Rev:rr).0
stages:
- stage: build_dbgext
displayName: Build WinDbg Extension
dependsOn: []
jobs:
- template: ./templates/build-config-dbgext.yml
parameters:
arch: x64
- template: ./templates/build-config-dbgext.yml
parameters:
arch: x86
- stage: build_quictrace
displayName: Build QuicTrace
dependsOn: []
jobs:
- template: ./templates/build-config-quictrace.yml

Просмотреть файл

@ -1,28 +0,0 @@
# This template contains steps to build quic.dll debugger extension for a single architecture.
parameters:
arch: ''
jobs:
- job: build_dbgext_${{ parameters.arch }}
displayName: ${{ parameters.arch }}
pool:
vmImage: windows-2019
steps:
- checkout: self
- task: VSBuild@1
continueOnError: true
inputs:
solution: src\plugins\msquic.windbg.sln
platform: ${{ parameters.arch }}
configuration: debug
- task: VSBuild@1
continueOnError: true
inputs:
solution: src\plugins\msquic.windbg.sln
platform: ${{ parameters.arch }}
configuration: release
- template: ./upload-artifacts.yml

Просмотреть файл

@ -1,31 +0,0 @@
# This template contains steps to build MsQuic WPA plugin.
jobs:
- job: build_quictrace
displayName: Any CPU
pool:
vmImage: windows-2022
steps:
- checkout: self
- task: DotNetCoreCLI@2
continueOnError: true
inputs:
projects: src\plugins\QuicTrace.sln
command: build
configuration: Debug
- task: DotNetCoreCLI@2
continueOnError: true
inputs:
projects: src\plugins\QuicTrace.sln
command: build
configuration: Release
- task: PowerShell@2
displayName: Publish Single File
inputs:
pwsh: true
filePath: scripts/publish-quictrace.ps1
- template: ./upload-artifacts.yml

62
.github/workflows/plugins.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,62 @@
name: Plugins
on:
push:
branches: [ main ]
paths:
- .github/workflows/plugins.yml
- src/plugins
pull_request:
branches: [ main ]
paths:
- .github/workflows/plugins.yml
- src/plugins
permissions: read-all
jobs:
build_dbgext:
name: Build WinDbg Extension
runs-on: windows-2019 # TODO - Need to figure out why -2022 doesn't have the prerequisites
strategy:
fail-fast: false
matrix:
configuration: [Release, Debug]
platform: [x86, x64]
steps:
- name: Checkout repository
uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@9546707e6b8f513d3a2af998e51e3b995c9fbe81
- name: Build
run: msbuild src\plugins\msquic.windbg.sln /p:configuration=${{ matrix.configuration }} /p:platform=${{ matrix.platform }}
- uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535
with:
name: bin_windbg_${{ matrix.configuration }}_${{ matrix.platform }}
path: |
artifacts/bin
!artifacts/bin/**/*.ilk
!artifacts/bin/**/*.exp
!artifacts/bin/**/*.lib
build_quictrace:
name: Build QuicTrace
needs: []
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
configuration: [Release, Debug]
steps:
- name: Checkout repository
uses: actions/checkout@629c2de402a417ea7690ca6ce3f33229e27606a5
- name: Setup .NET
uses: actions/setup-dotnet@9211491ffb35dd6a6657ca4f45d43dfe6e97c829
with:
dotnet-version: 6.0.x
- name: Build
run: dotnet build src\plugins\QuicTrace.sln -c ${{ matrix.configuration }}
- uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535
with:
name: bin_quictrace_${{ matrix.configuration }}
path: artifacts/bin

30
.github/workflows/wan-perf.yml поставляемый
Просмотреть файл

@ -5,30 +5,20 @@ on:
branches: branches:
- main - main
- release/* - release/*
paths-ignore: paths:
- .azure/* - .github/workflows/wan-perf.yml
- docs/* - src/core
- src/cs/* - src/platform
- src/distribution/* - src/perf
- src/plugins/*
- src/tools/*
- src/lib.rs
- Cargo.toml
- README.md
pull_request: pull_request:
branches: branches:
- main - main
- release/* - release/*
paths-ignore: paths:
- .azure/* - .github/workflows/wan-perf.yml
- docs/* - src/core
- src/cs/* - src/platform
- src/distribution/* - src/perf
- src/plugins/*
- src/tools/*
- src/lib.rs
- Cargo.toml
- README.md
permissions: read-all permissions: read-all