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
3
3
on : [push, pull_request]
4
4
5
5
jobs :
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
+
6
18
build-ubuntu :
7
19
strategy :
8
20
matrix :
Original file line number Diff line number Diff line change @@ -313,8 +313,10 @@ static void config_init_defaults(struct benchmark_config *cfg)
313
313
cfg->hdr_prefix = " " ;
314
314
if (!cfg->print_percentiles .is_defined ())
315
315
cfg->print_percentiles = config_quantiles (" 50,99,99.9" );
316
+ #ifdef USE_TLS
316
317
if (!cfg->tls_protocols )
317
318
cfg->tls_protocols = REDIS_TLS_PROTO_DEFAULT;
319
+ #endif
318
320
}
319
321
320
322
static int generate_random_seed ()
You can’t perform that action at this time.
0 commit comments