Skip to content

Commit

Permalink
fail build on arm gcc 6
Browse files Browse the repository at this point in the history
  • Loading branch information
alexezeder committed Nov 3, 2020
1 parent eb52ac7 commit a1568d4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,20 @@ matrix:
packages:
- g++-8

# ARM g++ 6 on Linux with C++17
- env: COMPILER=g++-6 BUILD=Debug STANDARD=17
compiler: gcc
arch: arm64
os: linux
dist: xenial
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6

# Apple clang on OS X with C++14
- env: BUILD=Debug STANDARD=14
compiler: clang
Expand Down
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ function(add_fmt_test name)
if (FMT_WERROR)
target_compile_options(${name} PRIVATE ${WERROR_FLAG})
endif ()
target_compile_options(${name} PRIVATE -fvisibility=hidden -Werror=attributes)
target_include_directories(${name} SYSTEM PUBLIC gtest gmock)
add_test(NAME ${name} COMMAND ${name})
endfunction()
Expand Down

0 comments on commit a1568d4

Please sign in to comment.