Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
spdlog
Commits
368b3699
Commit
368b3699
authored
Aug 12, 2018
by
Daniel Chabrowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run ASAN/TSAN jobs with clang
Bring back removed tests/Makefile
parent
49d663f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
6 deletions
+36
-6
.travis.yml
.travis.yml
+14
-6
tests/Makefile
tests/Makefile
+22
-0
No files found.
.travis.yml
View file @
368b3699
...
...
@@ -38,6 +38,14 @@ addons: &clang35
-
ubuntu-toolchain-r-test
-
llvm-toolchain-precise-3.5
addons
:
&clang6
apt
:
packages
:
-
clang-6.0
sources
:
-
ubuntu-toolchain-r-test
-
llvm-toolchain-trusty-6.0
matrix
:
include
:
# Test gcc-4.8: C++11, Build=Debug/Release
...
...
@@ -76,15 +84,15 @@ matrix:
os
:
linux
addons
:
*clang35
# Test
gcc-7
: C++11, Build=Debug, ASAN=On
-
env
:
GCC_VERSION=7
BUILD_TYPE=Debug CPP=11 ASAN=On
# Test
clang-6.0
: C++11, Build=Debug, ASAN=On
-
env
:
CLANG_VERSION=6.0
BUILD_TYPE=Debug CPP=11 ASAN=On
os
:
linux
addons
:
*
gcc7
addons
:
*
clang6
# Test
gcc-7
: C++11, Build=Debug, TSAN=On
-
env
:
GCC_VERSION=7
BUILD_TYPE=Debug CPP=11 TSAN=On
# Test
clang-6.0
: C++11, Build=Debug, TSAN=On
-
env
:
CLANG_VERSION=6.0
BUILD_TYPE=Debug CPP=11 TSAN=On
os
:
linux
addons
:
*
gcc7
addons
:
*
clang6
before_install
:
-
if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi
...
...
tests/Makefile
0 → 100644
View file @
368b3699
CXX
?=
g++
CXXFLAGS
=
-Wall
-pedantic
-std
=
c++11
-pthread
-O3
-I
../include
-fmax-errors
=
1
LDPFALGS
=
-pthread
CPP_FILES
:=
$(
wildcard
*
.cpp
)
OBJ_FILES
:=
$(
addprefix
./,
$(
notdir
$(CPP_FILES:.cpp=.o)
))
tests
:
$(OBJ_FILES)
$(CXX)
$(CXXFLAGS)
$(LDPFALGS)
-o
$@
$^
mkdir
-p
logs
%.o
:
%.cpp
$(CXX)
$(CXXFLAGS)
-c
-o
$@
$<
clean
:
rm
-f
tests
*
.o logs/
*
.txt
rebuild
:
clean tests
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment