Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
ngtcp2
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kashyap Thimmaraju
ngtcp2
Commits
c1882146
Commit
c1882146
authored
7 years ago
by
Alexis La Goutte
Browse files
Options
Downloads
Patches
Plain Diff
Travis: Add matrix (with BoringSSL or OpenSSL)
parent
1b11dd27
Branches
Branches containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+9
-10
9 additions, 10 deletions
.travis.yml
ci/build_boringssl.sh
+11
-0
11 additions, 0 deletions
ci/build_boringssl.sh
ci/build_openssl.sh
+10
-0
10 additions, 0 deletions
ci/build_openssl.sh
with
30 additions
and
10 deletions
.travis.yml
+
9
−
10
View file @
c1882146
language
:
cpp
language
:
cpp
env
:
matrix
:
-
SSL_LIB=boringssl
-
SSL_LIB=openssl
compiler
:
compiler
:
-
clang
-
clang
-
gcc
-
gcc
...
@@ -29,18 +33,13 @@ before_install:
...
@@ -29,18 +33,13 @@ before_install:
-
$CC --version
-
$CC --version
-
cmake --version
-
cmake --version
before_script
:
before_script
:
# First build boringssl
# First build external lib
-
git clone https://boringssl.googlesource.com/boringssl
-
if [ "$SSL_LIB" = "boringssl" ]; then ./ci/build_boringssl.sh; fi
-
cd boringssl
-
if [ "$SSL_LIB" = "openssl" ]; then ./ci/build_openssl.sh; fi
-
mkdir build
-
cd build
-
cmake ..
-
make
-
cd ../../
# configure ngtcp2
# configure ngtcp2
-
autoreconf -i
-
autoreconf -i
-
./configure --enable-werror OPENSSL_CFLAGS=-I$PWD/boringssl/include OPENSSL_LIBS="-L$PWD/boringssl/build/ssl -L$PWD/boringssl/build/crypto -lssl -lcrypto -pthread"
-
if [ "$SSL_LIB" = "boringssl" ]; then ./configure --enable-werror OPENSSL_CFLAGS=-I$PWD/../boringssl/include OPENSSL_LIBS="-L$PWD/../boringssl/build/ssl -L$PWD/../boringssl/build/crypto -lssl -lcrypto -pthread"; fi
-
if [ "$SSL_LIB" = "openssl" ]; then ./configure --enable-werror PKG_CONFIG_PATH=$PWD/../openssl/build/lib/pkgconfig LDFLAGS="-Wl,-rpath,$PWD/openssl/build/lib"; fi
script
:
script
:
# Now build ngtcp2
# Now build ngtcp2
-
make check
-
make check
This diff is collapsed.
Click to expand it.
ci/build_boringssl.sh
0 → 100755
+
11
−
0
View file @
c1882146
#!/bin/sh
#build last boringssl master (for Travis)
cd
..
git clone
--depth
1 https://boringssl.googlesource.com/boringssl
cd
boringssl
mkdir
build
cd
build
cmake ..
make
-j
$(
nproc
)
cd
../../
This diff is collapsed.
Click to expand it.
ci/build_openssl.sh
0 → 100755
+
10
−
0
View file @
c1882146
#!/bin/sh
#build last openssl master (for Travis)
cd
..
git clone
--depth
1 https://github.com/openssl/openssl
cd
openssl
./Configure enable-tls1_3
--prefix
=
$PWD
/build linux-x86_64
make
-j
$(
nproc
)
make install_sw
cd
..
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment