File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,18 @@ name: CI
33on : [push, pull_request]
44
55jobs :
6+ build-notls :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ - name : Install dependencies
11+ run : |
12+ sudo apt-get -qq update
13+ sudo apt-get install lcov autoconf automake pkg-config libevent-dev libpcre3-dev
14+
15+ - name : Build
16+ run : autoreconf -ivf && ./configure --disable-tls && make -j
17+
618 build-ubuntu :
719 strategy :
820 matrix :
Original file line number Diff line number Diff line change @@ -313,8 +313,10 @@ static void config_init_defaults(struct benchmark_config *cfg)
313313 cfg->hdr_prefix = " " ;
314314 if (!cfg->print_percentiles .is_defined ())
315315 cfg->print_percentiles = config_quantiles (" 50,99,99.9" );
316+ #ifdef USE_TLS
316317 if (!cfg->tls_protocols )
317318 cfg->tls_protocols = REDIS_TLS_PROTO_DEFAULT;
319+ #endif
318320}
319321
320322static int generate_random_seed ()
You can’t perform that action at this time.
0 commit comments