Skip to content

[WIP] Add Multipath support #6131

[WIP] Add Multipath support

[WIP] Add Multipath support #6131

Workflow file for this run

name: DotNet Language Interop Tests
on:
workflow_dispatch:
push:
branches:
- main
- release/*
pull_request:
branches:
- main
- release/*
concurrency:
# Cancel any workflow currently in progress for the same PR.
# Allow running concurrently with any other commits.
group: dotnet-test-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
permissions: read-all
jobs:
build-darwin-frameworks:
name: Build All Darwin Frameworks
strategy:
matrix:
tls: ["quictls", "openssl"]
uses: ./.github/workflows/build-reuse-darwin-framework.yml
with:
config: 'Debug'
repo: ${{ github.repository }}
tls: ${{ matrix.tls }}
build-linux:
name: Ubuntu
needs: []
strategy:
fail-fast: false
matrix:
vec: [
{ plat: "linux", os: "ubuntu-22.04", arch: "x64", tls: "quictls" },
{ plat: "linux", os: "ubuntu-24.04", arch: "x64", tls: "quictls", xdp: "-UseXdp" },
{ plat: "linux", os: "ubuntu-22.04", arch: "x64", tls: "openssl" },
{ plat: "linux", os: "ubuntu-24.04", arch: "x64", tls: "openssl", xdp: "-UseXdp" },
]
uses: ./.github/workflows/build-reuse-unix.yml
with:
config: 'Debug'
plat: ${{ matrix.vec.plat }}
os: ${{ matrix.vec.os }}
arch: ${{ matrix.vec.arch }}
tls: ${{ matrix.vec.tls }}
xdp: ${{ matrix.vec.xdp }}
repo: ${{ github.repository }}
build-windows:
name: Windows
needs: []
strategy:
fail-fast: false
matrix:
vec: [
{ plat: "windows", os: "windows-2022", arch: "x64", tls: "quictls" },
{ plat: "windows", os: "windows-2022", arch: "x64", tls: "openssl" },
]
uses: ./.github/workflows/build-reuse-win.yml
with:
config: 'Debug'
plat: ${{ matrix.vec.plat }}
os: ${{ matrix.vec.os }}
arch: ${{ matrix.vec.arch }}
tls: ${{ matrix.vec.tls }}
repo: ${{ github.repository }}
dotnet-test:
name: DotNet Test
needs: [build-windows, build-linux, build-darwin-frameworks]
strategy:
fail-fast: false
matrix:
vec: [
{ plat: "windows", os: "windows-2022", arch: "x64", tls: "quictls" },
{ plat: "linux", os: "ubuntu-22.04", arch: "x64", tls: "quictls" },
{ plat: "linux", os: "ubuntu-24.04", arch: "x64", tls: "quictls", xdp: "-UseXdp" },
{ plat: "linux", os: "ubuntu-22.04", arch: "x64", tls: "openssl" },
{ plat: "linux", os: "ubuntu-24.04", arch: "x64", tls: "openssl", xdp: "-UseXdp" },
{ plat: "macos", os: "macos-15", arch: "universal", tls: "quictls" },
{ plat: "macos", os: "macos-15", arch: "universal", tls: "openssl" },
]
runs-on: ${{ matrix.vec.os }}
steps:
- name: Checkout repository
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
- name: Prepare Machine
shell: pwsh
run: scripts/prepare-machine.ps1 -ForTest ${{ matrix.vec.xdp }}
- name: Download Build Artifacts
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53
with:
name: Debug-${{ matrix.vec.plat }}-${{ matrix.vec.os }}-${{ matrix.vec.arch }}-${{ matrix.vec.tls }}${{ matrix.vec.xdp }}
path: artifacts
- uses: actions/setup-dotnet@2016bd2012dba4e32de620c46fe006a3ac9f0602
with:
dotnet-version: 6.0.x
- name: Run Lang Interop
shell: pwsh
run: scripts/DotNetTest.ps1 -Config Debug -Arch ${{ matrix.vec.arch }} -Tls ${{ matrix.vec.tls }} -DomainName "google.com"
Complete:
name: DotNet Test Complete
if: always()
needs: [dotnet-test]
runs-on: ubuntu-latest
permissions: {} # No need for any permissions.
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
with:
jobs: ${{ toJSON(needs) }}