diff options
author | Anthony Green <green@moxielogic.com> | 2021-07-04 04:15:07 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2021-07-04 04:52:49 -0400 |
commit | 74cdc81f7cf01cb7f3322e17cbe761df466bf3e9 (patch) | |
tree | 8dc2848201a9c08e80fb686288914d1c2160f8a3 | |
parent | 90b736db474d51b82016aa8ff71c20cba29bbb83 (diff) | |
download | libffi-74cdc81f7cf01cb7f3322e17cbe761df466bf3e9.tar.gz |
Shift from travis-ci to github actions
-rwxr-xr-x | .ci/build.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.ci/build.sh b/.ci/build.sh index 0f2597b..da6cbe2 100755 --- a/.ci/build.sh +++ b/.ci/build.sh @@ -45,7 +45,7 @@ function build_linux() function build_foreign_linux() { - ${DOCKER} run --rm -t -i -v $(pwd):/opt ${SET_QEMU_CPU} -e LIBFFI_TEST_OPTIMIZATION="${LIBFFI_TEST_OPTIMIZATION}" $2 bash -c /opt/.ci/build-in-container.sh + ${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 ID=$(./rlgl start) @@ -55,7 +55,7 @@ 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}" quay.io/moxielogic/cross-ci-build-container:latest bash -c /opt/.ci/build-in-container.sh + ${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 ID=$(./rlgl start) @@ -66,7 +66,7 @@ function build_cross_linux() function build_cross() { ${DOCKER} pull quay.io/moxielogic/libffi-ci-${HOST} - ${DOCKER} run --rm -t -i -v $(pwd):/opt -e HOST="${HOST}" -e CC="${HOST}-gcc ${GCC_OPTIONS}" -e CXX="${HOST}-g++ ${GCC_OPTIONS}" -e TRAVIS_BUILD_DIR=/opt -e DEJAGNU="${DEJAGNU}" -e RUNTESTFLAGS="${RUNTESTFLAGS}" -e LIBFFI_TEST_OPTIMIZATION="${LIBFFI_TEST_OPTIMIZATION}" quay.io/moxielogic/libffi-ci-${HOST} bash -c /opt/.ci/build-cross-in-container.sh + ${DOCKER} run --rm -t -v $(pwd):/opt -e HOST="${HOST}" -e CC="${HOST}-gcc ${GCC_OPTIONS}" -e CXX="${HOST}-g++ ${GCC_OPTIONS}" -e TRAVIS_BUILD_DIR=/opt -e DEJAGNU="${DEJAGNU}" -e RUNTESTFLAGS="${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 ID=$(./rlgl start) |