Add optional user defined header writer (#1683) #1779
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: test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macOS-latest, ubuntu-latest, windows-latest] | |
steps: | |
- name: prepare git for checkout on windows | |
if: matrix.os == 'windows-latest' | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: install brotli library on ubuntu | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo apt update && sudo apt-get install -y libbrotli-dev | |
- name: install brotli library on macOS | |
if: matrix.os == 'macOS-latest' | |
run: brew install brotli | |
- name: make | |
if: matrix.os != 'windows-latest' | |
run: cd test && make -j2 | |
- name: check fuzz test target | |
if: matrix.os == 'ubuntu-latest' | |
run: cd test && make fuzz_test | |
- name: setup msbuild on windows | |
if: matrix.os == 'windows-latest' | |
uses: microsoft/[email protected] | |
- name: make-windows | |
if: matrix.os == 'windows-latest' | |
run: | | |
cd test | |
msbuild.exe test.sln /verbosity:minimal /t:Build "/p:Configuration=Release;Platform=x64" | |
x64\Release\test.exe |