Skip to content

Commit

Permalink
Travis: ARM, g++ 10, Xcode 12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
OleErikPeistorpet committed Oct 13, 2020
1 parent 2c3fc35 commit 166e276
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
16 changes: 11 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,28 @@ branches:
- develop
- /release/

matrix:
jobs:
include:
- os: linux
dist: trusty
env:
- CXXFLAGS="-D OEL_MEM_BOUND_DEBUG_LVL=2" MY_BUILD_TYPE=Release
- os: linux
arch:
- arm64
env:
- CC="gcc-9" CXX="g++-9" CXXFLAGS="-D OEL_MEM_BOUND_DEBUG_LVL=2" MY_BUILD_TYPE=Release
- CXXFLAGS="-D OEL_MEM_BOUND_DEBUG_LVL=2" MY_BUILD_TYPE=Release
- os: linux
dist: bionic
env:
- CC=gcc-10 CXX=g++-10 MY_BUILD_TYPE=Release
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: 'ppa:ubuntu-toolchain-r/test'
packages:
- g++-9
- g++-10
- os: osx
osx_image: xcode11.1
osx_image: xcode12.2
env:
- CXXFLAGS="-fsanitize=address -fsanitize=undefined -D OEL_MEM_BOUND_DEBUG_LVL=0" MY_BUILD_TYPE=""
6 changes: 5 additions & 1 deletion unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ cmake_minimum_required(VERSION 3.1)

project(oel-test CXX)

set(CMAKE_CXX_STANDARD 17)
if(${CMAKE_VERSION} VERSION_GREATER "3.8.0")
set(CMAKE_CXX_STANDARD 17)
else()
set(CMAKE_CXX_STANDARD 14)
endif()
set(CMAKE_CXX_EXTENSIONS OFF)


Expand Down

0 comments on commit 166e276

Please sign in to comment.