summaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2022-09-10 10:31:37 -0400
committerAnthony Green <green@moxielogic.com>2022-09-10 10:31:37 -0400
commit6e7caacb9c94efba6775825df2479be389da51f1 (patch)
treeb015581161ef0548a7b59aeb3510268aea7d8af2 /.ci
parentd9a19e21c2b86e03b6acb8a2d73d992c8e4974e8 (diff)
downloadlibffi-6e7caacb9c94efba6775825df2479be389da51f1.tar.gz
Label rlgl reports
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/build.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/.ci/build.sh b/.ci/build.sh
index 7a6d1ca..7b21ec1 100755
--- a/.ci/build.sh
+++ b/.ci/build.sh
@@ -27,7 +27,7 @@ function build_cfarm()
curl -u ${CFARM_AUTH} "$(tail build.log | grep '^==LOGFILE==' | cut -b13-)" > libffi.log
./rlgl l --key=${RLGL_KEY} https://rl.gl
- ./rlgl e --id=${GITHUB_SHA:0:8} --policy=https://github.com/libffi/rlgl-policy.git libffi.log
+ ./rlgl e --id=${GITHUB_SHA:0:7} -l project=libffi -l sha=${GITHUB_SHA:0:7} -l CC=${{ matrix.CFARM_CC }} -l host=${{ matrix.CFARM_TRIPLE }} --policy=https://github.com/libffi/rlgl-policy.git libffi.log
exit $?
}
@@ -41,7 +41,7 @@ function build_linux()
DEJAGNU=$(pwd)/.ci/site.exp BOARDSDIR=$(pwd)/.ci make check RUNTESTFLAGS="-a $RUNTESTFLAGS"
./rlgl l --key=${RLGL_KEY} https://rl.gl
- ./rlgl e --id=${GITHUB_SHA:0:8} --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
+ ./rlgl e --id=${GITHUB_SHA:0:7} -l project=libffi -l sha=${GITHUB_SHA:0:7} -l CC="$CC" ${HOST+-l host=$HOST} --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
exit $?
}
@@ -50,7 +50,7 @@ function build_foreign_linux()
${DOCKER} run --rm -t -v $(pwd):/opt ${SET_QEMU_CPU} -e LIBFFI_TEST_OPTIMIZATION="${LIBFFI_TEST_OPTIMIZATION}" $2 bash -c /opt/.ci/build-in-container.sh
./rlgl l --key=${RLGL_KEY} https://rl.gl
- ./rlgl e --id=${GITHUB_SHA:0:8} --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
+ ./rlgl e --id=${GITHUB_SHA:0:7} -l project=libffi -l sha=${GITHUB_SHA:0:7} -l CC="$CC" ${HOST+-l host=$HOST} --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
exit $?
}
@@ -59,7 +59,7 @@ function build_cross_linux()
${DOCKER} run --rm -t -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}" quay.io/moxielogic/cross-ci-build-container:latest bash -c /opt/.ci/build-in-container.sh
./rlgl l --key=${RLGL_KEY} https://rl.gl
- ./rlgl e --id=${GITHUB_SHA:0:8} --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
+ ./rlgl e --id=${GITHUB_SHA:0:7} -l project=libffi -l sha=${GITHUB_SHA:0:7} -l CC="${HOST}-gcc-8 ${GCC_OPTIONS}" -l host=${HOST} --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
exit $?
}
@@ -69,7 +69,7 @@ function build_cross()
${DOCKER} run --rm -t -v $(pwd):/opt -e HOST="${HOST}" -e CC="${HOST}-gcc ${GCC_OPTIONS}" -e CXX="${HOST}-g++ ${GCC_OPTIONS}" -e RUNNER_WORKSPACE=/opt -e RUNTESTFLAGS="-vv ${RUNTESTFLAGS}" -e LIBFFI_TEST_OPTIMIZATION="${LIBFFI_TEST_OPTIMIZATION}" quay.io/moxielogic/libffi-ci-${HOST} bash -c /opt/.ci/build-cross-in-container.sh
./rlgl l --key=${RLGL_KEY} https://rl.gl
- ./rlgl e --id=${GITHUB_SHA:0:8} --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
+ ./rlgl e --id=${GITHUB_SHA:0:7} -l project=libffi -l sha=${GITHUB_SHA:0:7} -l CC="${HOST}-gcc" -l host=$HOST --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
exit $?
}