mirror of
https://github.com/partic2/libffi
synced 2026-11-11 10:37:19 +00:00
Test on arm32v7-linux-gnu, ppc64le-linux-gnu and aarch64-linux-gnu.
Use docker images and qemu to test libffi for non-x86 architectures on travis-ci. Use the LIBFFI_TEST_OPTIMIZATION environment variable to force specific optimization levels at test time.
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /opt
|
||||
|
||||
./configure
|
||||
make
|
||||
make dist
|
||||
make check RUNTESTFLAGS="-a $RUNTESTFLAGS"
|
||||
EXITCODE=$?
|
||||
gzip -c -9 */testsuite/libffi.log > libffi.log.gz
|
||||
echo ================================================================
|
||||
echo The logs are too long for travis to handle, so we compress and
|
||||
echo uuencode them. Download, decode and uncompress if you need to
|
||||
echo read them.
|
||||
echo ================================================================
|
||||
uuencode libffi.log.gz -
|
||||
echo ================================================================
|
||||
echo ================================================================
|
||||
exit $EXITCODE
|
||||
|
||||
Reference in New Issue
Block a user