summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2021-07-04 08:42:23 -0400
committerAnthony Green <green@moxielogic.com>2021-07-04 09:49:56 -0400
commit6144e308fdfc267c2d748733b863848853ac70f6 (patch)
tree9d219dcc3823f67f3263beb86860f025e9f406a8
parentfac446ecd43a83c320d0ad4b4848906534baa95d (diff)
downloadlibffi-6144e308fdfc267c2d748733b863848853ac70f6.tar.gz
Shift from travis-ci to github actions
-rwxr-xr-x.ci/build-cross-in-container.sh2
-rwxr-xr-x.ci/build-in-container.sh2
-rwxr-xr-x.ci/build.sh2
-rw-r--r--.ci/site.exp2
-rw-r--r--.github/workflows/build.yml4
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)