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

Unify datapath #3819

Merged
merged 101 commits into from
Sep 23, 2023
Merged
Show file tree
Hide file tree
Changes from 96 commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
adecf93
Remove QUIC_USE_RAW_DATAPATH (logic only)
ami-GS Jul 29, 2023
5f78bb7
move logic to core side
ami-GS Jul 29, 2023
4a1d1c0
remove QUIC_USE_RAW_DATAPATH from test
ami-GS Jul 29, 2023
8faacac
fix googletest version and add last line
ami-GS Jul 30, 2023
cef044d
replace from flag to function call
ami-GS Jul 30, 2023
54e953d
fix build error
ami-GS Jul 30, 2023
d90c4d9
fix build/test issues
ami-GS Jul 31, 2023
3c3af4e
implement CxPlatResolveRoute for normal socket
ami-GS Jul 31, 2023
4252477
add Getter of Datapath feature
ami-GS Jul 31, 2023
cd261b4
fix build issues
ami-GS Jul 31, 2023
5930c93
adopt comments
ami-GS Aug 1, 2023
0a633d2
adopt comment and fix kernel build error
ami-GS Aug 1, 2023
4ff90da
fix kernel build error
ami-GS Aug 1, 2023
6cadc70
more fix for kernel build
ami-GS Aug 1, 2023
cb83953
Unify datapath
ami-GS Jul 12, 2023
18c054e
DatapathTest partially work
ami-GS Jul 13, 2023
e98d136
just unify build of both normal socket and xdp
ami-GS Jul 14, 2023
95fd7b7
SOCKET: RAW{...Socket{BASE{addr}}}, DATAPATH: XDP{RAW{DATAPATH*}} <->…
ami-GS Jul 20, 2023
6b61e7c
tmp
ami-GS Jul 28, 2023
e3e8662
add preview_feature flag back
ami-GS Aug 1, 2023
7a3114d
refactoring CxPlatIsRouteReady
ami-GS Aug 1, 2023
fb60008
Merge branch 'dev/daiki/runtime_raw_datapath' into dev/daiki/unify_da…
ami-GS Aug 1, 2023
27d5ec4
fix linux code check
ami-GS Aug 1, 2023
5bb4ba5
Merge branch 'dev/daiki/runtime_raw_datapath' into dev/daiki/unify_da…
ami-GS Aug 1, 2023
6472fc5
adjust func names
ami-GS Aug 1, 2023
72310bf
fix comments
ami-GS Aug 2, 2023
27cf16f
Merge branch 'dev/daiki/runtime_raw_datapath' into dev/daiki/unify_da…
ami-GS Aug 2, 2023
432a364
fix IsRouteReady and clean ifdef for _KERNEL_MODE
ami-GS Aug 2, 2023
be4e91a
kernel build error
ami-GS Aug 2, 2023
2cb2b53
Set RouteResolved for Rx
ami-GS Aug 2, 2023
15294e6
Merge branch 'dev/daiki/runtime_raw_datapath' into dev/daiki/unify_da…
ami-GS Aug 2, 2023
f791cc8
fix more tests
ami-GS Aug 3, 2023
b78b06f
move global definition in header file
ami-GS Aug 3, 2023
0416ecd
kernel to avoid calling helper function
ami-GS Aug 3, 2023
71618da
move QuitTestIsFeatureSupported after RegistrationOpen
ami-GS Aug 4, 2023
42e1871
supress warning
ami-GS Aug 4, 2023
2ccf42e
Merge branch 'dev/daiki/runtime_raw_datapath' into dev/daiki/unify_da…
ami-GS Aug 4, 2023
6e78d06
remove QuitTestIsFeatureSupported from quic_gtest as it doesn't work …
ami-GS Aug 4, 2023
3c3f6bc
Merge branch 'dev/daiki/runtime_raw_datapath' into dev/daiki/unify_da…
ami-GS Aug 4, 2023
719ae75
Merge branch 'main' into dev/daiki/runtime_raw_datapath
ami-GS Aug 4, 2023
a241b20
Merge branch 'dev/daiki/runtime_raw_datapath' into dev/daiki/unify_da…
ami-GS Aug 4, 2023
c87f06f
remove raw feature check as much as possible
ami-GS Aug 7, 2023
3b791c2
ifdef for UseQTIP visibility
ami-GS Aug 7, 2023
42546dc
Merge branch 'dev/daiki/runtime_raw_datapath' into dev/daiki/unify_da…
ami-GS Aug 7, 2023
1e148e2
tmp
ami-GS Aug 8, 2023
d7d58b5
tmp
ami-GS Aug 8, 2023
1a97862
Merge branch 'main' into dev/daiki/unify_datapath
ami-GS Aug 8, 2023
f8ab0fa
fix merge side effects
ami-GS Aug 8, 2023
88f4f7c
all tests passed
ami-GS Aug 17, 2023
4a5c27d
fix tests in msquicplatformtest
ami-GS Aug 18, 2023
2a202bc
fix tcp with duonic
ami-GS Aug 18, 2023
995edd4
fix conflicts
ami-GS Aug 18, 2023
7259984
update clog
ami-GS Aug 19, 2023
86a0e66
use xdp v1
ami-GS Aug 19, 2023
f78f2f1
Merge branch 'main' into dev/daiki/unify_datapath_share
ami-GS Aug 24, 2023
fc78d24
WIP cleanup
ami-GS Aug 24, 2023
5e4ab19
refactoring CXPLAT_SEND_DATA
ami-GS Aug 24, 2023
cbd2d08
remove mangling and function pointer
ami-GS Aug 24, 2023
ef10a27
remove unnecessary change in test
ami-GS Aug 24, 2023
87ae517
fix comments
ami-GS Aug 25, 2023
750dd03
cleanup
ami-GS Aug 28, 2023
e4525e9
move logic to _winuser
ami-GS Aug 28, 2023
c40d53b
use dummy raw datapath for uwp build
ami-GS Aug 29, 2023
3013728
dummy raw
ami-GS Aug 29, 2023
08220d3
remove double free
ami-GS Aug 29, 2023
ffacb71
fix comments
ami-GS Aug 30, 2023
5969aa9
Merge branch 'main' into dev/daiki/unify_datapath_share
ami-GS Aug 30, 2023
a11cd76
update dummy func
ami-GS Aug 30, 2023
a0a9e7f
fix perf run for TCP
ami-GS Aug 30, 2023
e1fa3be
partially fix comments
ami-GS Aug 31, 2023
00bcd08
fix build error for uwp and remove duplicate variable in raw socket
ami-GS Aug 31, 2023
76daf50
set socket before start receiving
ami-GS Sep 1, 2023
fbc601e
add dummy to clog
ami-GS Sep 1, 2023
1319b22
add clog files for dummy
ami-GS Sep 1, 2023
246b288
fix dependency for cargo on windows
ami-GS Sep 1, 2023
d2759c3
remove dummy clog files
ami-GS Sep 1, 2023
0ec6dca
remove AuxSocket
ami-GS Sep 1, 2023
599ddaa
add pwsh for cargo setup
ami-GS Sep 1, 2023
5e5cdff
clog fix
ami-GS Sep 1, 2023
a75ee4b
add include dir for cargo
ami-GS Sep 5, 2023
470ac4f
[WIP] fix cargo and qtip
ami-GS Sep 7, 2023
5dc33e9
fix clog, qtip, rename private raw functions and cleanup
ami-GS Sep 7, 2023
9720513
experiment to avoid write overflow
ami-GS Sep 7, 2023
02b39de
use Config->Route->DatapathType for data allocation
ami-GS Sep 7, 2023
da791e7
more strict if conditions
ami-GS Sep 7, 2023
75a0846
Merge branch 'main' into dev/daiki/unify_datapath_share
ami-GS Sep 19, 2023
5d37f85
fix comments
ami-GS Sep 19, 2023
41af217
fix uwp build
ami-GS Sep 19, 2023
2fbe7a2
fix clog and artifact name
ami-GS Sep 19, 2023
290e3f6
fix back xdp dependency
ami-GS Sep 19, 2023
e933f73
Simply build automation
nibanks Sep 20, 2023
07a7e74
missed one
nibanks Sep 20, 2023
dd47f82
apply unification to linux and remove QUIC_USE_XDP flag
ami-GS Sep 20, 2023
6f3e725
move types to any platform
ami-GS Sep 20, 2023
57a55ec
add abstruction layer for linux
ami-GS Sep 20, 2023
6c905fc
add clog
ami-GS Sep 20, 2023
7e07687
add clog dependencies
ami-GS Sep 20, 2023
8181f2e
fix CodeCheck issues
ami-GS Sep 20, 2023
c6943e3
remove xdp specific artifact dir name and always install xdp deps
ami-GS Sep 21, 2023
ee64bc1
add docs
ami-GS Sep 21, 2023
c63411b
More Fixes for XDP in automation (mostly OneBranch)
nibanks Sep 23, 2023
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
17 changes: 0 additions & 17 deletions .azure/OneBranch.Official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,22 +86,6 @@ extends:
parameters:
config: Debug

- stage: build_windows_xdp
displayName: Build Windows XDP
dependsOn: []
jobs:
- template: .azure/obtemplates/build-winuser-xdp.yml@self
parameters:
config: Release
tls: schannel
- template: .azure/obtemplates/build-winuser-xdp.yml@self
parameters:
config: Release
tls: openssl
- template: .azure/obtemplates/build-winuser-xdp.yml@self
parameters:
config: Debug

- stage: build_windows
displayName: Build Windows
dependsOn: []
Expand Down Expand Up @@ -204,7 +188,6 @@ extends:
dependsOn:
- build_windows
- build_uwp
- build_windows_xdp
jobs:
- template: .azure/obtemplates/build-nuget.yml@self
nibanks marked this conversation as resolved.
Show resolved Hide resolved
${{ if startsWith(variables['Build.SourceBranch'], 'refs/tags/') }}:
Expand Down
17 changes: 0 additions & 17 deletions .azure/OneBranch.PullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,22 +82,6 @@ extends:
parameters:
config: Debug

- stage: build_windows_xdp
displayName: Build Windows XDP
dependsOn: []
jobs:
- template: .azure/obtemplates/build-winuser-xdp.yml@self
parameters:
config: Release
tls: schannel
- template: .azure/obtemplates/build-winuser-xdp.yml@self
parameters:
config: Release
tls: openssl
- template: .azure/obtemplates/build-winuser-xdp.yml@self
parameters:
config: Debug

- stage: build_windows
displayName: Build Windows
dependsOn: []
Expand Down Expand Up @@ -198,6 +182,5 @@ extends:
dependsOn:
- build_windows
- build_uwp
- build_windows_xdp
jobs:
- template: .azure/obtemplates/build-nuget.yml@self
26 changes: 2 additions & 24 deletions .azure/azure-pipelines.perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ stages:
arch: ${{ parameters.arch }}
config: Release

- ${{ if or(eq(parameters.winkernel, true), eq(parameters.winuser_schannel, true)) }}:
- ${{ if or(eq(parameters.winkernel, true), eq(parameters.winuser_schannel, true), eq(parameters.winuser_xdp, true)) }}:
- stage: build_winuser_schannel
displayName: Build Windows (Schannel)
dependsOn: []
Expand All @@ -177,27 +177,6 @@ stages:
${{ if eq(parameters.pgo_mode, true) }}:
extraBuildArgs: -DisableTest -DisableTools -PGO

- ${{ if eq(parameters.winuser_xdp, true) }}:
- stage: build_winuser_xdp
displayName: Build Windows (XDP)
dependsOn: []
variables:
runCodesignValidationInjection: false
jobs:
- template: ./templates/build-config-user.yml
parameters:
image: windows-latest
platform: windows
arch: ${{ parameters.arch }}
tls: schannel
config: Release
extraName: 'xdp'
extraPrepareArgs: -DisableTest -InstallXdpSdk
${{ if eq(parameters.pgo_mode, false) }}:
extraBuildArgs: -DisableTest -DisableTools -UseXdp -ExtraArtifactDir Xdp
${{ if eq(parameters.pgo_mode, true) }}:
extraBuildArgs: -DisableTest -DisableTools -UseXdp -ExtraArtifactDir Xdp -PGO

- ${{ if eq(parameters.winuser_openssl, true) }}:
- stage: build_winuser_openssl
displayName: Build Windows (OpenSSL)
Expand Down Expand Up @@ -331,7 +310,7 @@ stages:
- stage: perf_winuser_xdp
displayName: Performance Testing Windows (XDP)
dependsOn:
- build_winuser_xdp
- build_winuser_schannel
jobs:
- template: ./templates/run-performance.yml
parameters:
Expand All @@ -344,7 +323,6 @@ stages:
protocol: ${{ parameters.protocol }}
logProfile: ${{ parameters.logging }}
timeout: ${{ parameters.timeout }}
extraArtifactDir: '_Xdp'
${{ if eq(parameters.QTIP, true) }}:
extraTestArgs: -ExtraArtifactDir _Xdp -XDP -QTIP
${{ else }}:
Expand Down
2 changes: 1 addition & 1 deletion .azure/azure-pipelines.periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ stages:
config: Release
extraName: 'xdp'
extraPrepareArgs: -DisableTest -InstallXdpSdk
extraBuildArgs: -DisableTest -DisableTools -UseXdp -ExtraArtifactDir Xdp -PGO
extraBuildArgs: -DisableTest -DisableTools -ExtraArtifactDir Xdp -PGO
nibanks marked this conversation as resolved.
Show resolved Hide resolved

#
# Performance Tests
Expand Down
36 changes: 0 additions & 36 deletions .azure/obtemplates/build-winuser-xdp.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .azure/obtemplates/build-winuser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ jobs:
ob_sdl_binskim_break: true # https://aka.ms/obpipelines/sdl
ob_sdl_codeSignValidation_excludes: -|**\*.exe # Disable signing requirements for test executables
steps:
- task: PowerShell@2
displayName: Prepare Build Machine
target: windows_build_container2
inputs:
pwsh: true
filePath: scripts/prepare-machine.ps1
arguments: -InstallXdpSdk -ForContainerBuild
nibanks marked this conversation as resolved.
Show resolved Hide resolved
- task: PowerShell@2
displayName: x64
target: windows_build_container2
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/build-reuse-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ on:
# - openssl
# - openssl3
# - schannel
xdp:
required: false
default: ''
type: string
static:
required: false
default: ''
Expand Down Expand Up @@ -89,11 +85,11 @@ jobs:
- name: Build For Test
if: inputs.test == '-Test'
shell: pwsh
run: scripts/build.ps1 -Config ${{ inputs.config }} -Platform ${{ inputs.plat }} -Arch ${{ inputs.arch }} -Tls ${{ inputs.tls }} -DisablePerf -DynamicCRT ${{ inputs.xdp }} ${{ inputs.sanitize }}
run: scripts/build.ps1 -Config ${{ inputs.config }} -Platform ${{ inputs.plat }} -Arch ${{ inputs.arch }} -Tls ${{ inputs.tls }} -DisablePerf -DynamicCRT ${{ inputs.sanitize }}
- name: Build
if: inputs.test == ''
shell: pwsh
run: scripts/build.ps1 -Config ${{ inputs.config }} -Platform ${{ inputs.plat }} -Arch ${{ inputs.arch }} -Tls ${{ inputs.tls }} ${{ inputs.xdp }} ${{ inputs.sanitize }} ${{ inputs.static }}
run: scripts/build.ps1 -Config ${{ inputs.config }} -Platform ${{ inputs.plat }} -Arch ${{ inputs.arch }} -Tls ${{ inputs.tls }} ${{ inputs.sanitize }} ${{ inputs.static }}
- name: Filter Build Artifacts
shell: pwsh
run: |
Expand All @@ -103,5 +99,5 @@ jobs:
- name: Upload build artifacts
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
name: ${{ inputs.config }}-${{ inputs.plat }}-${{ inputs.os }}-${{ inputs.arch }}-${{ inputs.tls }}${{ inputs.xdp }}${{ inputs.sanitize }}${{ inputs.static }}${{ inputs.test }}
name: ${{ inputs.config }}-${{ inputs.plat }}-${{ inputs.os }}-${{ inputs.arch }}-${{ inputs.tls }}${{ inputs.sanitize }}${{ inputs.static }}${{ inputs.test }}
path: artifacts
21 changes: 4 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
arch: [x86, x64, arm64]
tls: [schannel, openssl, openssl3]
static: ['', '-Static']
xdp: ['', '-UseXdp']
exclude:
# OpenSSL doesn't support arm64
- tls: openssl
Expand All @@ -46,15 +45,6 @@ jobs:
# TODO: FIX: Static builds fail with UWP
- plat: uwp
static: '-Static'
# XDP not supported in UWP
- plat: uwp
xdp: '-UseXdp'
# XDP only supports x64 currently
- arch: x86
xdp: '-UseXdp'
# XDP only supports x64 currently
- arch: arm64
xdp: '-UseXdp'
uses: ./.github/workflows/build-reuse-win.yml
with:
config: ${{ matrix.config }}
Expand All @@ -63,7 +53,6 @@ jobs:
arch: ${{ matrix.arch }}
tls: ${{ matrix.tls }}
static: ${{ matrix.static }}
xdp: ${{ matrix.xdp }}

build-windows-kernel:
name: WinKernel
Expand Down Expand Up @@ -201,8 +190,6 @@ jobs:
{ plat: "uwp", tls: "openssl", arg: "-UWP" },
{ plat: "windows", tls: "openssl" },
{ plat: "windows", tls: "schannel" },
{ plat: "windows", tls: "openssl", xdp: "-UseXdp", arg: "-XDP" },
{ plat: "windows", tls: "schannel", xdp: "-UseXdp", arg: "-XDP" },
]
runs-on: windows-2022
steps:
Expand All @@ -211,19 +198,19 @@ jobs:
- name: Download Build Artifacts
uses: dawidd6/action-download-artifact@246dbf436b23d7c49e21a7ab8204ca9ecd1fe615
with:
name: Release-${{ matrix.vec.plat }}-windows-2022-x86-${{ matrix.vec.tls }}${{ matrix.vec.xdp }}
name: Release-${{ matrix.vec.plat }}-windows-2022-x86-${{ matrix.vec.tls }}
path: artifacts
if_no_artifact_found: ignore
- name: Download Build Artifacts
uses: dawidd6/action-download-artifact@246dbf436b23d7c49e21a7ab8204ca9ecd1fe615
with:
name: Release-${{ matrix.vec.plat }}-windows-2022-x64-${{ matrix.vec.tls }}${{ matrix.vec.xdp }}
name: Release-${{ matrix.vec.plat }}-windows-2022-x64-${{ matrix.vec.tls }}
path: artifacts
if_no_artifact_found: ignore
- name: Download Build Artifacts
uses: dawidd6/action-download-artifact@246dbf436b23d7c49e21a7ab8204ca9ecd1fe615
with:
name: Release-${{ matrix.vec.plat }}-windows-2022-arm64-${{ matrix.vec.tls }}${{ matrix.vec.xdp }}
name: Release-${{ matrix.vec.plat }}-windows-2022-arm64-${{ matrix.vec.tls }}
path: artifacts
if_no_artifact_found: ignore
- name: Build Package
Expand All @@ -232,5 +219,5 @@ jobs:
- name: Upload build artifacts
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
name: Nuget-Release-${{ matrix.vec.plat }}-windows-2022-arm64-${{ matrix.vec.tls }}${{ matrix.vec.xdp }}
name: Nuget-Release-${{ matrix.vec.plat }}-windows-2022-arm64-${{ matrix.vec.tls }}
path: artifacts/dist/*.nupkg
2 changes: 1 addition & 1 deletion .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ jobs:
- name: Cargo test
run: cargo test --all
- name: Cargo Publish (dry run)
run: cargo publish --dry-run
run: cargo publish --dry-run --allow-dirty
6 changes: 3 additions & 3 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Download Build Artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: ${{ matrix.vec.config }}-${{ matrix.vec.plat }}-${{ matrix.vec.os }}-${{ matrix.vec.arch }}-${{ matrix.vec.tls }}${{ matrix.vec.xdp }}${{ matrix.vec.sanitize }}${{ matrix.vec.test }}
name: ${{ matrix.vec.config }}-${{ matrix.vec.plat }}-${{ matrix.vec.os }}-${{ matrix.vec.arch }}-${{ matrix.vec.tls }}${{ matrix.vec.sanitize }}${{ matrix.vec.test }}
path: artifacts
- name: Prepare Machine
run: scripts/prepare-machine.ps1 -Tls ${{ matrix.vec.tls }} -ForTest ${{ matrix.vec.xdp }} -InstallCodeCoverage
Expand All @@ -79,7 +79,7 @@ jobs:
- name: Upload Results
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
with:
name: BVT-${{ matrix.vec.config }}-${{ matrix.vec.plat }}-${{ matrix.vec.os }}-${{ matrix.vec.arch }}-${{ matrix.vec.tls }}${{ matrix.vec.xdp }}${{ matrix.vec.qtip }}${{ matrix.vec.systemcrypto }}${{ matrix.vec.sanitize }}
name: BVT-${{ matrix.vec.config }}-${{ matrix.vec.plat }}-${{ matrix.vec.os }}-${{ matrix.vec.arch }}-${{ matrix.vec.tls }}${{ matrix.vec.qtip }}${{ matrix.vec.systemcrypto }}${{ matrix.vec.sanitize }}
path: artifacts/coverage/*.cov

stress-winlatest:
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
fetch-depth: 0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: ${{ matrix.vec.config }}-${{ matrix.vec.plat }}-${{ matrix.vec.os }}-${{ matrix.vec.arch }}-${{ matrix.vec.tls }}${{ matrix.vec.xdp }}${{ matrix.vec.sanitize }}${{ matrix.vec.test }}
name: ${{ matrix.vec.config }}-${{ matrix.vec.plat }}-${{ matrix.vec.os }}-${{ matrix.vec.arch }}-${{ matrix.vec.tls }}${{ matrix.vec.sanitize }}${{ matrix.vec.test }}
path: artifacts
- name: Prepare Machine
run: scripts/prepare-machine.ps1 -Tls ${{ matrix.vec.tls }} -ForTest ${{ matrix.vec.xdp }} -InstallCodeCoverage
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/stress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,10 @@ jobs:
vec: [
{ config: "Debug", plat: "windows", os: "windows-2019", arch: "x64", tls: "openssl", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2019", arch: "x64", tls: "openssl3", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2019", arch: "x64", tls: "openssl", xdp: "-UseXdp", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2019", arch: "x64", tls: "openssl3", xdp: "-UseXdp", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2022", arch: "x64", tls: "schannel", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2022", arch: "x64", tls: "schannel", sanitize: "-Sanitize", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2022", arch: "x64", tls: "schannel", xdp: "-UseXdp", sanitize: "-Sanitize", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2022", arch: "x64", tls: "openssl", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2022", arch: "x64", tls: "openssl", xdp: "-UseXdp", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2022", arch: "x64", tls: "openssl3", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2022", arch: "x64", tls: "openssl3", xdp: "-UseXdp", test: "-Test" }
]
uses: ./.github/workflows/build-reuse-win.yml
with:
Expand All @@ -45,7 +40,6 @@ jobs:
os: ${{ matrix.vec.os }}
arch: ${{ matrix.vec.arch }}
tls: ${{ matrix.vec.tls }}
xdp: ${{ matrix.vec.xdp }}
sanitize: ${{ matrix.vec.sanitize }}
test: ${{ matrix.vec.test }}

Expand Down Expand Up @@ -108,7 +102,7 @@ jobs:
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
if: matrix.vec.plat == 'windows'
with:
name: ${{ matrix.vec.config }}-${{ matrix.vec.plat }}-${{ matrix.vec.os == 'WSPrerelease' && 'windows-2022' || matrix.vec.os }}-${{ matrix.vec.arch }}-${{ matrix.vec.tls }}${{ matrix.vec.xdp }}${{ matrix.vec.sanitize }}${{ matrix.vec.test }}
name: ${{ matrix.vec.config }}-${{ matrix.vec.plat }}-${{ matrix.vec.os == 'WSPrerelease' && 'windows-2022' || matrix.vec.os }}-${{ matrix.vec.arch }}-${{ matrix.vec.tls }}${{ matrix.vec.sanitize }}${{ matrix.vec.test }}
path: artifacts
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
if: matrix.vec.plat == 'linux' || matrix.vec.plat == 'macos'
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,10 @@ jobs:
vec: [
{ config: "Debug", plat: "windows", os: "windows-2019", arch: "x64", tls: "openssl", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2019", arch: "x64", tls: "openssl3", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2019", arch: "x64", tls: "openssl", xdp: "-UseXdp", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2019", arch: "x64", tls: "openssl3", xdp: "-UseXdp", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2022", arch: "x64", tls: "schannel", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2022", arch: "x64", tls: "schannel", sanitize: "-Sanitize", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2022", arch: "x64", tls: "schannel", xdp: "-UseXdp", sanitize: "-Sanitize", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2022", arch: "x64", tls: "openssl", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2022", arch: "x64", tls: "openssl", xdp: "-UseXdp", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2022", arch: "x64", tls: "openssl3", test: "-Test" },
{ config: "Debug", plat: "windows", os: "windows-2022", arch: "x64", tls: "openssl3", xdp: "-UseXdp", test: "-Test" },
{ config: "Release", plat: "windows", os: "windows-2022", arch: "x64", tls: "schannel", test: "-Test" }
]
uses: ./.github/workflows/build-reuse-win.yml
Expand All @@ -64,7 +59,6 @@ jobs:
os: ${{ matrix.vec.os }}
arch: ${{ matrix.vec.arch }}
tls: ${{ matrix.vec.tls }}
xdp: ${{ matrix.vec.xdp }}
sanitize: ${{ matrix.vec.sanitize }}
test: ${{ matrix.vec.test }}

Expand Down Expand Up @@ -127,7 +121,7 @@ jobs:
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
if: matrix.vec.plat == 'windows'
with: # note that BVT for WSPrerelease uses binaries built on windows-2022.
name: ${{ matrix.vec.config }}-${{ matrix.vec.plat }}-${{ matrix.vec.os == 'WSPrerelease' && 'windows-2022' || matrix.vec.os }}-${{ matrix.vec.arch }}-${{ matrix.vec.tls }}${{ matrix.vec.xdp }}${{ matrix.vec.sanitize }}${{ matrix.vec.test }}
name: ${{ matrix.vec.config }}-${{ matrix.vec.plat }}-${{ matrix.vec.os == 'WSPrerelease' && 'windows-2022' || matrix.vec.os }}-${{ matrix.vec.arch }}-${{ matrix.vec.tls }}${{ matrix.vec.sanitize }}${{ matrix.vec.test }}
path: artifacts
- name: Download Build Artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
Expand Down Expand Up @@ -234,7 +228,7 @@ jobs:
fetch-depth: 0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: ${{ matrix.vec.config }}-${{ matrix.vec.plat }}-${{ matrix.vec.os }}-${{ matrix.vec.arch }}-${{ matrix.vec.tls }}${{ matrix.vec.xdp }}${{ matrix.vec.sanitize }}${{ matrix.vec.test }}
name: ${{ matrix.vec.config }}-${{ matrix.vec.plat }}-${{ matrix.vec.os }}-${{ matrix.vec.arch }}-${{ matrix.vec.tls }}${{ matrix.vec.sanitize }}${{ matrix.vec.test }}
path: artifacts
- name: Prepare Machine
run: scripts/prepare-machine.ps1 -ForTest ${{ matrix.vec.xdp }}
Expand Down
Loading
Loading