Skip to content

Bump actions/checkout from 4.1.4 to 4.1.5 #516

Bump actions/checkout from 4.1.4 to 4.1.5

Bump actions/checkout from 4.1.4 to 4.1.5 #516

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@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
with:
submodules: 'recursive'
- name: Install Perl
if: runner.os == 'Windows'
uses: shogo82148/actions-setup-perl@28eae78d12c2bba1163aec45d123f6d9228bc307
with:
perl-version: '5.34'
- name: Install NASM
if: runner.os == 'Windows'
uses: ilammy/setup-nasm@13cbeb366c45c4379d3478cdcbadd8295feb5028
- 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@65462800fd760344b1a7b4382951275a0abb4808
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