8 Commits

Author SHA1 Message Date
Bernhard Nortmann
dd1882c7d7 travis-ci: Add and activate "make check" build step
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-11-12 13:38:40 +01:00
Bernhard Nortmann
bf735b2c47 Makefile: Modify default CFLAGS
This removes the "-g -O0" default (to leave them up to the user
CFLAGS), and adds a switch to ignore "unused result" warnings.
The latter is relevant when trying to compile nand-part.c with
optimizations enabled.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-11-10 13:34:31 +01:00
Bernhard Nortmann
bb4c2a6b1b travisci: Extend the build testing for Mac OS X
The build configuration will now also execute
"make install-tools install-misc" for OSX.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-11-03 13:04:35 +01:00
Bernhard Nortmann
95d40f8fcf Makefile: Ensure that user-supplied CFLAGS get respected
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-10-29 18:48:07 +02:00
Bernhard Nortmann
fbae32235b travisci: Adjust build config to use "make all" on Linux
For Linux build testing, we want all targets compiled. To do so
without a cross-toolchain, simply use the host compiler for the
target tools. This can be achieved by setting CROSS_COMPILE to
an empty string.

OSX can't handle this: It neither supports "-static", nor would
it successfully compile meminfo.c. Thus we keep the default
"make", which should only build the 'tools' target.

On Linux we'll also test the install-* targets by requesting
installation to /tmp/sunxi-tools as a post-build step.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-10-29 11:16:39 +02:00
Bernhard Nortmann
3cf1ef5b2f travis-ci: Be more strict on build checks
After eliminating all warnings, we can disallow them for future
builds. This is done by passing an additional "-Werror" flag
from the Travis build step. Introducing new warnings will cause
a (CI) build failure from now on.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-05-04 22:34:27 +02:00
Bernhard Nortmann
438620e832 travis-ci: Extend build matrix, disable email notifications
We'll be testing both gcc and clang builds on Linux. As for now,
Travis CI only supports clang for OSX - so exclude gcc currently.

Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-05-04 10:29:51 +02:00
Bernhard Nortmann
6ade0af8d4 Add Travis CI configuration file
Signed-off-by: Bernhard Nortmann <bernhard.nortmann@web.de>
2016-04-20 09:45:26 +02:00