Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warnings and an error, use build-aux/travis-build.sh to support building with ASAN properly. Get brew packages using Travis config, not from command line. Use default version of osx.
- Loading branch information
Showing
4 changed files
with
47 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,6 @@ Makefile | |
Makefile.in | ||
/aclocal.m4 | ||
/autom4te.cache | ||
/build-aux | ||
/compile | ||
/configure | ||
/config.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/bootstrap.in | ||
/compile | ||
/config.guess | ||
/config.sub | ||
/depcomp | ||
/extract-trace | ||
/funclib.sh | ||
/inline-source | ||
/install-sh | ||
/ltmain.sh | ||
/mdate-sh | ||
/missing | ||
/options-parser | ||
/test-driver | ||
/texinfo.tex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
# Build on Travis | ||
# Written by Reuben Thomas 2020. | ||
# This file is in the public domain. | ||
|
||
set -e | ||
|
||
./bootstrap | ||
CONFIGURE_ARGS=(--enable-relocatable --with-zemberek=check) | ||
if [[ "$ASAN" == "yes" ]]; then | ||
CONFIGURE_ARGS+=(CFLAGS="-g3 -fsanitize=address -fsanitize=undefined" LDFLAGS="-fsanitize=address -fsanitize=undefined") | ||
fi | ||
./configure --enable-silent-rules "${CONFIGURE_ARGS[@]}" | ||
make | ||
make distcheck | ||
|
||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo locale-gen fr_FR.UTF-8; env LANG=fr_FR.UTF-8 make check ; fi |