Skip to content

Commit

Permalink
More Github CI fixes...
Browse files Browse the repository at this point in the history
  • Loading branch information
tschoonj committed Jun 13, 2020
1 parent caf504c commit 24c80c0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,18 @@ jobs:
if: startsWith(matrix.image, 'ubuntu') || startsWith(matrix.image, 'debian')
run: |
set -ex
export DEBIAN_FRONTEND=noninteractive
apt-get --yes --force-yes update
apt-get --yes --force-yes install python3-pip python3-all-dev python3-numpy fpc gfortran gcc php-dev swig libperl-dev perl lua5.3 liblua5.3-dev ruby-dev default-jdk
pip3 install Cython
set +ex
env:
DEBIAN_FRONTEND: noninteractive
- name: Build and test
run: |
set -ex
autoreconf -fi
./configure --disable-python --disable-python-numpy --enable-perl --enable-lua --enable-pascal --enable-java --enable-php --enable-ruby
# disable java for now
./configure --disable-python --disable-python-numpy --enable-perl --enable-lua --enable-pascal --disable-java --enable-php --enable-ruby
make
make check
make distclean
Expand All @@ -65,3 +67,4 @@ jobs:
CC: ${{matrix.cc}}
XRL_PYTHON3: /usr/bin/python3
LUA: /usr/bin/lua5.3
JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
6 changes: 6 additions & 0 deletions example/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ endif

xrlexample1_SOURCES = xrlexample1.c
xrlexample1_LDADD = ../src/libxrl.la
if !OS_WINDOWS
xrlexample1_LDADD += -lm
endif
xrlexample1_CPPFLAGS = -I${top_srcdir}/include -I${top_builddir}/include
xrlexample1_CFLAGS = $(ARCHFLAGS) $(WSTRICT_CFLAGS)

Expand All @@ -68,6 +71,9 @@ endif
if ENABLE_CXX
xrlexample6_SOURCES = xrlexample6.cpp
xrlexample6_LDADD = ../src/libxrl.la
if !OS_WINDOWS
xrlexample6_LDADD += -lm
endif
endif


Expand Down

0 comments on commit 24c80c0

Please sign in to comment.