From 6b7f3d01ae3ea2c6535b72339f1023ab426c40fd Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 11 Sep 2018 20:53:28 -0400 Subject: [PATCH] ci: build zig in release mode It makes sense to test release mode, plus we're up against the time limits of CI, so this should make room. --- ci/travis_linux_script | 2 +- ci/travis_osx_script | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/travis_linux_script b/ci/travis_linux_script index f2f4bd95d3..f823429a4c 100755 --- a/ci/travis_linux_script +++ b/ci/travis_linux_script @@ -8,7 +8,7 @@ export CXX=clang++-6.0 echo $PATH mkdir build cd build -cmake .. -DCMAKE_INSTALL_PREFIX=$(pwd) +cmake .. -DCMAKE_BUILD_TYPE=Release make -j2 install ./zig build --build-file ../build.zig test diff --git a/ci/travis_osx_script b/ci/travis_osx_script index 56cf45cd5f..7fa54d26fd 100755 --- a/ci/travis_osx_script +++ b/ci/travis_osx_script @@ -5,7 +5,7 @@ set -e mkdir build cd build -cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@6/ -DCMAKE_INSTALL_PREFIX=$(pwd) +cmake .. -DCMAKE_PREFIX_PATH=/usr/local/opt/llvm@6/ -DCMAKE_BUILD_TYPE=Release make VERBOSE=1 make install