Commit 486f88f985affa215a9daaadcdc703c8baea9020

Anthony Green 2019-11-12T09:20:21

Use rlgl for cross builds.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/.travis/build.sh b/.travis/build.sh
index 3d50052..6a388dc 100755
--- a/.travis/build.sh
+++ b/.travis/build.sh
@@ -51,6 +51,10 @@ function build_foreign_linux()
 function build_cross_linux()
 {
     ${DOCKER} run --rm -t -i -v `pwd`:/opt ${SET_QEMU_CPU} -e HOST="${HOST}" -e CC="${HOST}-gcc-8 ${GCC_OPTIONS}" -e CXX="${HOST}-g++-8 ${GCC_OPTIONS}" -e LIBFFI_TEST_OPTIMIZATION="${LIBFFI_TEST_OPTIMIZATION}" moxielogic/cross-ci-build-container:latest bash -c /opt/.travis/build-in-container.sh
+
+    ./rlgl l https://rl.gl
+    ID=$(./rlgl start)
+    ./rlgl e --id=$ID --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
     exit $?
 }