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
95bb7983
Commit
95bb7983
authored
7 years ago
by
Alexis La Goutte
Browse files
Options
Downloads
Patches
Plain Diff
Add Travis CI
Need to use clang-3.8 and gcc5 for c++std14
parent
b211c012
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+45
-0
45 additions, 0 deletions
.travis.yml
with
45 additions
and
0 deletions
.travis.yml
0 → 100644
+
45
−
0
View file @
95bb7983
language
:
cpp
compiler
:
-
clang
-
gcc
sudo
:
false
addons
:
apt
:
sources
:
-
ubuntu-toolchain-r-test
-
llvm-toolchain-precise-3.8
-
george-edison55-precise-backports
packages
:
-
g++-5
-
clang-3.8
-
autoconf
-
automake
-
autotools-dev
-
libtool
-
pkg-config
-
libcunit1-dev
-
libssl-dev
-
libev-dev
-
cmake
-
cmake-data
before_install
:
-
$CC --version
-
if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; else export CXX="clang++-3.8" CC="clang-3.8"; fi
-
$CC --version
-
cmake --version
before_script
:
# First build boringssl
-
git clone https://boringssl.googlesource.com/boringssl
-
cd boringssl
-
mkdir build
-
cd build
-
cmake ..
-
make
-
cd ../../
# configure ngtcp2
-
autoreconf -i
-
./configure OPENSSL_CFLAGS=-I$PWD/boringssl/include OPENSSL_LIBS="-L$PWD/boringssl/build/ssl -L$PWD/boringssl/build/crypto -lssl -lcrypto -pthread"
script
:
# Now build ngtcp2
-
make
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