Skip to content

Bump shogo82148/actions-setup-perl from 1.27.0 to 1.28.0 (#190) #414

Bump shogo82148/actions-setup-perl from 1.27.0 to 1.28.0 (#190)

Bump shogo82148/actions-setup-perl from 1.27.0 to 1.28.0 (#190) #414

Workflow file for this run

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@eb238b55efaa70779f274895e782ed17c84f2895
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: 'recursive'
- name: Install Perl
if: runner.os == 'Windows'
uses: shogo82148/actions-setup-perl@3d69de4658363aa141f2d961d0f4a17584a36150
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@26f96dfa697d77e81fd5907df203aa23a56210a8
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