Skip to content

Bump msquic from b7b2d5e to dd57bfa (#157) #419

Bump msquic from b7b2d5e to dd57bfa (#157)

Bump msquic from b7b2d5e to dd57bfa (#157) #419

Workflow file for this run

name: Build
on:
push:
branches: main
pull_request:
branches: main
concurrency:
# Cancel any workflow currently in progress for the same PR.
# Allow running concurrently with any other commits.
group: build-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
permissions: read-all
jobs:
build:
name: Build
permissions:
contents: read
strategy:
fail-fast: false
matrix:
os: [ubuntu, windows]
tls: [schannel, openssl, openssl3]
link: [static, shared]
mode: [client-only, server]
config: [Debug, Release]
exclude:
- os: ubuntu
tls: schannel
runs-on: ${{ matrix.os }}-latest
timeout-minutes: 15
steps:
- name: Harden Runner
uses: step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
submodules: 'recursive'
- name: Install Perl
if: runner.os == 'Windows'
uses: shogo82148/actions-setup-perl@a67113985e0d5fab15c98bd0875f6218759be902
with:
perl-version: '5.34'
- name: Install NASM
if: runner.os == 'Windows'
uses: ilammy/setup-nasm@321e6ed62a1fc77024a3bd853deb33645e8b22c4
- name: Build
shell: pwsh
run: ./.github/workflows/build.ps1 -Config ${{ matrix.config }} -Tls ${{ matrix.tls }} -Link ${{ matrix.link }} -Mode ${{ matrix.mode }} -BuildId ${{ github.run_number }} -Suffix "-official" -WithTests -WithTools -Debug
- name: Upload
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
name: bin-${{ matrix.os }}-${{ matrix.tls }}-${{ matrix.link }}-${{ matrix.mode }}-${{ matrix.config }}
path: |
artifacts/*.dll
artifacts/*.exe
artifacts/*.so
artifacts/msh3app
artifacts/msh3test
- name: msh3app
run: |
./artifacts/msh3app outlook.office.com
./artifacts/msh3app www.cloudflare.com
./artifacts/msh3app www.google.com
- name: msh3test
if: matrix.mode == 'server'
run: ./artifacts/msh3test