зеркало из https://github.com/microsoft/msquic.git
63 строки
1.8 KiB
YAML
63 строки
1.8 KiB
YAML
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@ac593985615ec2ede58e132d2e21d2b1cbd6127c
|
|
- name: Setup MSBuild.exe
|
|
uses: microsoft/setup-msbuild@1ff57057b5cfdc39105cd07a01d78e9b0ea0c14c
|
|
- name: Build
|
|
run: msbuild src\plugins\msquic.windbg.sln /p:configuration=${{ matrix.configuration }} /p:platform=${{ matrix.platform }}
|
|
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
|
|
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@ac593985615ec2ede58e132d2e21d2b1cbd6127c
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a
|
|
with:
|
|
dotnet-version: 6.0.x
|
|
- name: Build
|
|
run: dotnet build src\plugins\QuicTrace.sln -c ${{ matrix.configuration }}
|
|
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
|
|
with:
|
|
name: bin_quictrace_${{ matrix.configuration }}
|
|
path: artifacts/bin
|