Add musl-based alpine to CI

This commit is contained in:
bgermann 2018-09-15 23:52:45 +02:00
parent 4769d0601e
commit b417246ae2
3 changed files with 23 additions and 1 deletions

View file

@ -118,3 +118,20 @@ build:ubuntu-trusty:
- ./configure -C
- make -j$(nproc)
- make install
build:alpine:
image: alpine
before_script:
- >
apk add --no-progress -q
autoconf automake curl-dev dbus-dev g++ gdk-pixbuf-dev git gmp-dev
glew-dev glib-dev gmime-dev gsl-dev gst-plugins-base-dev gstreamer-dev gtk+2.0-dev gtk+3.0-dev
gtkglext-dev imlib2-dev gettext-dev libffi-dev mesa-dev libgnome-keyring-dev mariadb-dev librsvg-dev
libsm-dev libxcursor-dev libxml2-dev libxslt-dev libxtst-dev make ncurses-dev pcre-dev pkgconf
poppler-dev postgresql-dev qt5-qtsvg-dev qt5-qtwebkit-dev qt5-qtx11extras-dev sdl2-dev sdl2_image-dev
sdl2_mixer-dev sdl2_ttf-dev sdl_mixer-dev sqlite-dev unixodbc-dev xdg-utils zlib-dev
script:
- ./reconf-all
- GAMBAS_CONFIG_FAILURE=1 ./configure -C --disable-openal --disable-qt4 --disable-sdl --disable-sqlite2 --disable-v4l
- make -j$(nproc)
- make install

View file

@ -558,6 +558,11 @@ AC_DEFUN([GB_SYSTEM],
AC_DEFINE(OS_LINUX, 1, [Target system is Linux])
AC_DEFINE(SYSTEM, "Linux", [Operating system])
;;
*-*-linux* )
SYSTEM=LINUX
AC_DEFINE(OS_LINUX, 1, [Target system is Linux])
AC_DEFINE(SYSTEM, "Linux", [Operating system])
;;
*-*-freebsd* )
SYSTEM=FREEBSD
AC_DEFINE(OS_BSD, 1, [Target system is of BSD family])

View file

@ -10,7 +10,7 @@ AC_PROG_LIBTOOL
GB_COMPONENT(
crypt, CRYPT, gb.crypt, [src],
[],
[GB_FIND(libcrypt.$SHLIBEXT, $prefix /usr/local /usr, lib)],
[],
[-lcrypt])
AC_OUTPUT( \