perf: increase read buf to 20KB for http proxy #160
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, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
include: | |
- ssl: none | |
name: none | |
- ssl: openssl | |
name: OPENSSL | |
pkg: libssl-dev | |
- ssl: mbedtls | |
name: MBEDTLS | |
pkg: libmbedtls-dev | |
- ssl: wolfssl | |
name: WOLFSSL | |
pkg: libwolfssl-dev | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: build | |
env: | |
name: ${{ matrix.name }} | |
pkg: ${{ matrix.pkg }} | |
run: | | |
sudo apt install -y libev-dev | |
[ -n "$pkg" ] && sudo apt install -y $pkg | |
[ "$name" = "none" ] && cmake . -DSSL_SUPPORT=OFF || cmake . -DUSE_$name=ON | |
make |