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 10:22:01 -0400
commit36aefa8ddfda5b6bba206c508b4eb69cb4f3b4da (patch)
tree75963572ac64cb6541af0cc30adf23c28af3265a
parent6144e308fdfc267c2d748733b863848853ac70f6 (diff)
downloadlibffi-36aefa8ddfda5b6bba206c508b4eb69cb4f3b4da.tar.gz
Shift from travis-ci to github actions
-rwxr-xr-x.ci/build.sh3
-rw-r--r--.github/workflows/build.yml6
2 files changed, 4 insertions, 5 deletions
diff --git a/.ci/build.sh b/.ci/build.sh
index b452f09..6176351 100755
--- a/.ci/build.sh
+++ b/.ci/build.sh
@@ -35,7 +35,8 @@ function build_linux()
./configure ${HOST+--host=$HOST} ${CONFIGURE_OPTIONS} || cat */config.log
make
make dist
- BOARDSDIR=$(pwd)/.ci make check RUNTESTFLAGS="-a $RUNTESTFLAGS"
+ DEJAGNU=$(pwd)/.ci/site.exp BOARDSDIR=$(pwd)/.ci runtest --version -v -v -v -v
+ DEJAGNU=$(pwd)/.ci/site.exp BOARDSDIR=$(pwd)/.ci make check RUNTESTFLAGS="-a $RUNTESTFLAGS"
./rlgl l --key=${RLGL_KEY} https://rl.gl
ID=$(./rlgl start)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e558d95..cf8b648 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -28,7 +28,6 @@ jobs:
- MEVAL: "export PATH=/opt/moxielogic/bin:$PATH && CC=moxie-elf-gcc && CXX=moxie-elf-g++"
HOST: "moxie-elf"
LDFLAGS: "-Tsim.ld"
- DEJAGNU: ".ci/site.exp"
RUNTESTFLAGS: "-v -v -v -v --target_board moxie-sim"
steps:
@@ -39,7 +38,6 @@ jobs:
HOST: ${{ matrix.HOST }}
LDFLAGS: ${{ matrix.LDFLAGS }}
RUNTESTFLAGS: ${{ matrix.RUNTESTFLAGS }}
- DEJAGNU: ${{ matrix.DEJAGNU }}
run: |
set -x
if test x"$MEVAL" != x; then eval ${MEVAL}; fi
@@ -79,7 +77,7 @@ jobs:
./configure
find . -name libtool\*|xargs dos2unix
make -j 4
- TERM=none export BOARDSDIR=$(pwd)/.ci make check || true
+ TERM=none export DEJAGNU=$(pwd)/.ci/site.exp 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 +124,7 @@ jobs:
env
make
cp $(find . -name 'libffi-?.dll') x86_64-pc-cygwin/testsuite/
- TERM=none BOARDSDIR=$(pwd)/.ci make check || true
+ TERM=none DEJAGNU=$(pwd)/.ci/site.exp 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)