Bump msquic from 9c4dceb
to fbf0808
(#260)
#554
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@91182cccc01eb5e619899d80e4e971d6181294a7 | |
with: | |
egress-policy: audit | |
- name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
with: | |
submodules: 'recursive' | |
- name: Install Perl | |
if: runner.os == 'Windows' | |
uses: shogo82148/actions-setup-perl@9c1eca9952ccc07f9ca4a2097b63df93d9d138e9 | |
with: | |
perl-version: '5.34' | |
- name: Install NASM | |
if: runner.os == 'Windows' | |
uses: ilammy/setup-nasm@13cbeb366c45c4379d3478cdcbadd8295feb5028 | |
- 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@50769540e7f4bd5e21e526ee35c689e35e0d6874 | |
with: | |
name: bin-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.tls }}-${{ matrix.link }} | |
path: | | |
build/bin/**/*.so | |
build/bin/**/*.dll | |
build/bin/**/quicreach | |
build/bin/**/quicreach.exe | |
build/bin/**/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 |