Travis: Run the pre-C99 compilation test only once, with gcc
Compile without optimizations (and symbols) as an opportunity to also check that it properly compiles under these conditions (re: force_inline issues)
This commit is contained in:
parent
6ab5957544
commit
0c8834f776
@ -16,13 +16,8 @@ before_script:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- ./configure --disable-dependency-tracking
|
- ./configure --disable-dependency-tracking
|
||||||
- make
|
- >
|
||||||
- sha512sum src/libsodium/.libs/libsodium.so > lib.sum
|
if [ "$CC" = 'gcc' ]; then make CFLAGS='-g0' > /dev/null && cp src/libsodium/.libs/libsodium.so lib.so && make clean > /dev/null && make CFLAGS='-g0' CPPFLAGS='-DSODIUM_C99\(X\)=' > /dev/null && cp src/libsodium/.libs/libsodium.so lib-oldc.so && cmp lib.so lib-oldc.so && echo No binary changes && make clean > /dev/null ; fi
|
||||||
- make clean
|
|
||||||
- make CPPFLAGS='-DSODIUM_C99\(X\)='
|
|
||||||
- sha512sum src/libsodium/.libs/libsodium.so > lib-oldc.sum
|
|
||||||
- cmp lib.sum lib-oldc.sum
|
|
||||||
- make clean
|
|
||||||
- make distcheck
|
- make distcheck
|
||||||
- make distclean
|
- make distclean
|
||||||
- ./configure --disable-dependency-tracking --enable-minimal
|
- ./configure --disable-dependency-tracking --enable-minimal
|
||||||
|
Loading…
Reference in New Issue
Block a user