diff options
author | Anthony Green <green@moxielogic.com> | 2021-07-04 08:42:23 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2021-07-04 09:49:56 -0400 |
commit | 6144e308fdfc267c2d748733b863848853ac70f6 (patch) | |
tree | 9d219dcc3823f67f3263beb86860f025e9f406a8 | |
parent | fac446ecd43a83c320d0ad4b4848906534baa95d (diff) | |
download | libffi-6144e308fdfc267c2d748733b863848853ac70f6.tar.gz |
Shift from travis-ci to github actions
-rwxr-xr-x | .ci/build-cross-in-container.sh | 2 | ||||
-rwxr-xr-x | .ci/build-in-container.sh | 2 | ||||
-rwxr-xr-x | .ci/build.sh | 2 | ||||
-rw-r--r-- | .ci/site.exp | 2 | ||||
-rw-r--r-- | .github/workflows/build.yml | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/.ci/build-cross-in-container.sh b/.ci/build-cross-in-container.sh index a184eb1..d2143e3 100755 --- a/.ci/build-cross-in-container.sh +++ b/.ci/build-cross-in-container.sh @@ -15,4 +15,4 @@ find . ./configure --host=${HOST} || cat */config.log make make dist -make check RUNTESTFLAGS="-a $RUNTESTFLAGS" || true +BOARDSDIR=$(pwd)/.ci make check RUNTESTFLAGS="-a $RUNTESTFLAGS" || true diff --git a/.ci/build-in-container.sh b/.ci/build-in-container.sh index 2330477..77969e4 100755 --- a/.ci/build-in-container.sh +++ b/.ci/build-in-container.sh @@ -11,4 +11,4 @@ find . ./configure ${HOST+--host=$HOST --disable-shared} make make dist -make check RUNTESTFLAGS="-a $RUNTESTFLAGS" || true +BOARDSDIR=$(pwd)/.ci make check RUNTESTFLAGS="-a $RUNTESTFLAGS" || true diff --git a/.ci/build.sh b/.ci/build.sh index fbf7785..b452f09 100755 --- a/.ci/build.sh +++ b/.ci/build.sh @@ -35,7 +35,7 @@ function build_linux() ./configure ${HOST+--host=$HOST} ${CONFIGURE_OPTIONS} || cat */config.log make make dist - make check RUNTESTFLAGS="-a $RUNTESTFLAGS" + BOARDSDIR=$(pwd)/.ci make check RUNTESTFLAGS="-a $RUNTESTFLAGS" ./rlgl l --key=${RLGL_KEY} https://rl.gl ID=$(./rlgl start) diff --git a/.ci/site.exp b/.ci/site.exp index 26b794f..96c013e 100644 --- a/.ci/site.exp +++ b/.ci/site.exp @@ -5,7 +5,7 @@ if ![info exists boards_dir] { set boards_dir {} } -lappend boards_dir $::env(RUNNER_WORKSPACE)/libffi/.ci +lappend boards_dir $::env(BOARDSDIR) verbose "Global Config File: target_triplet is $target_triplet" 2 global target_list diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 24a4e76..e558d95 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,7 +79,7 @@ jobs: ./configure find . -name libtool\*|xargs dos2unix make -j 4 - TERM=none make check || true + TERM=none export BOARDSDIR=$(pwd)/.ci make check || true ./rlgl/rlgl.exe l --key=0LIBFFI-0LIBFFI-0LIBFFI-0LIBFFI https://rl.gl ID=$(./rlgl/rlgl.exe start) ./rlgl/rlgl.exe e --id=$ID --policy=https://github.com/libffi/rlgl-policy.git $(find . -name libffi.log) @@ -126,7 +126,7 @@ jobs: env make cp $(find . -name 'libffi-?.dll') x86_64-pc-cygwin/testsuite/ - TERM=none make check || true + TERM=none BOARDSDIR=$(pwd)/.ci make check || true ./rlgl/rlgl.exe l --key=0LIBFFI-0LIBFFI-0LIBFFI-0LIBFFI https://rl.gl ID=$(./rlgl/rlgl.exe start) ./rlgl/rlgl.exe e --id=$ID --policy=https://github.com/libffi/rlgl-policy.git $(find . -name libffi.log) |