Bump msquic from 9685eb5
to d654850
(#142)
#331
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
permissions: read-all | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu, windows] | |
arch: [x86, x64] | |
tls: [schannel, openssl] | |
link: [static, shared] | |
exclude: | |
- os: ubuntu | |
tls: schannel | |
- os: ubuntu | |
arch: x86 | |
permissions: | |
contents: read | |
name: Build | |
runs-on: ${{ matrix.os }}-latest | |
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@7f907be1fad5b3080fce625f3eab81475ccaecd2 | |
with: | |
perl-version: '5.34' | |
- name: Install NASM | |
if: runner.os == 'Windows' | |
uses: ilammy/setup-nasm@321e6ed62a1fc77024a3bd853deb33645e8b22c4 | |
- name: Build | |
shell: pwsh | |
run: ./build.ps1 -Arch ${{ matrix.arch }} -Tls ${{ matrix.tls }} -Link ${{ matrix.link }} -Install -BuildInstaller -Debug | |
- name: Upload | |
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce | |
with: | |
name: bin-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.tls }}-${{ matrix.link }} | |
path: | | |
build/**/*.so | |
build/**/*.dll | |
build/**/quicreach | |
build/**/quicreach.exe | |
build/**/quicreach.msi | |
- name: Test (Linux) | |
if: runner.os == 'Linux' | |
run: /usr/local/lib/quicreach outlook-evergreen.office.com,www.cloudflare.com,www.google.com --req-all --stats | |
- name: Test (Windows, x64) | |
if: ${{ runner.os == 'Windows' && matrix.arch != 'x86' }} | |
run: | | |
& 'C:/Program Files/quicreach/lib/quicreach' outlook-evergreen.office.com,www.cloudflare.com,www.google.com --req-all --stats | |
- name: Test (Windows, x86) | |
if: ${{ runner.os == 'Windows' && matrix.arch == 'x86' }} | |
run: | | |
& 'C:/Program Files (x86)/quicreach/lib/quicreach' outlook-evergreen.office.com,www.cloudflare.com,www.google.com --req-all --stats |