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.
This commit is contained in:
Andrew Kelley 2018-09-11 20:53:28 -04:00
parent 7dd3c3814d
commit 6b7f3d01ae
No known key found for this signature in database
GPG Key ID: 4E7CD66038A4D47C
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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