From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id A18A22C103 for ; Sun, 14 Oct 2018 19:17:41 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WjbpYzBW_m0M for ; Sun, 14 Oct 2018 19:17:41 -0400 (EDT) Received: from smtp50.i.mail.ru (smtp50.i.mail.ru [94.100.177.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 61B5E2C0F6 for ; Sun, 14 Oct 2018 19:17:41 -0400 (EDT) From: Alexander Turenko Subject: [tarantool-patches] [PATCH v2 3/3] test: add LTO targets into CI Date: Mon, 15 Oct 2018 02:17:39 +0300 Message-Id: <49324060ec8f917b7fa350fbd761d14626cae14d.1539556251.git.alexander.turenko@tarantool.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: Georgy Kirichenko Cc: AKhatskevich , tarantool-patches@freelists.org From: AKhatskevich --- .travis.mk | 4 ++-- .travis.yml | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.mk b/.travis.mk index 88335474c..1b7d05149 100644 --- a/.travis.mk +++ b/.travis.mk @@ -40,7 +40,7 @@ deps_ubuntu: lcov ruby test_ubuntu: deps_ubuntu - cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfoWError + cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfoWError ${CMAKE_EXTRA_PARAMS} make -j8 cd test && /usr/bin/python test-run.py -j 1 @@ -49,7 +49,7 @@ deps_osx: brew install openssl readline curl icu4c --force test_osx: deps_osx - cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfoWError + cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfoWError ${CMAKE_EXTRA_PARAMS} # Increase the maximum number of open file descriptors on macOS sudo sysctl -w kern.maxfiles=20480 || : sudo sysctl -w kern.maxfilesperproc=20480 || : diff --git a/.travis.yml b/.travis.yml index a9d1036da..dbd8c91c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,6 +33,14 @@ matrix: os: osx - name: Debug build + test + coverage (Linux, gcc) env: TARGET=coverage + - name: LTO build + test (Linux, gcc) + env: TARGET=test CMAKE_EXTRA_PARAMS=-DENABLE_LTO=ON + - name: LTO build + test (Linux, clang) + env: TARGET=test CMAKE_EXTRA_PARAMS=-DENABLE_LTO=ON + compiler: clang + - name: LTO build + test (OS X) + os: osx + env: TARGET=test CMAKE_EXTRA_PARAMS=-DENABLE_LTO=ON - name: CentOS 6 build + test + deploy RPM env: OS=el DIST=6 - name: CentOS 7 build + test + deploy RPM -- 2.19.1