2017-10-31 19:42:08 +00:00
|
|
|
version: 2
|
2017-11-01 07:15:27 +00:00
|
|
|
|
2017-10-31 19:42:08 +00:00
|
|
|
jobs:
|
|
|
|
|
2017-11-21 06:07:26 +00:00
|
|
|
oracledeveloperstudio:
|
|
|
|
docker:
|
|
|
|
- image: fedora
|
|
|
|
steps:
|
|
|
|
- checkout
|
2017-12-29 19:43:29 +00:00
|
|
|
- run: dnf install -y gcc ragel cmake make which glib2-devel freetype-devel cairo-devel libicu-devel graphite2-devel wget tar bzip2 python || true
|
2017-11-21 06:07:26 +00:00
|
|
|
- run: wget http://$ODSUSER:$ODSPASS@behdad.org/harfbuzz-private/OracleDeveloperStudio12.6-linux-x86-bin.tar.bz2 && tar xf OracleDeveloperStudio12.6-linux-x86-bin.tar.bz2 --owner root --group root --no-same-owner
|
|
|
|
- run: CC=/root/project/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/suncc CXX=/root/project/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/sunCC cmake -DHB_HAVE_GRAPHITE2=ON -DHB_BUILTIN_UCDN=ON -DHB_HAVE_GLIB=ON -DHB_HAVE_ICU=ON -DHB_HAVE_FREETYPE=ON -Bbuild -H.
|
|
|
|
- run: make -Cbuild
|
2017-12-06 14:57:27 +00:00
|
|
|
- run: make -Cbuild test
|
|
|
|
- run: make -Cbuild install
|
2017-11-21 06:07:26 +00:00
|
|
|
|
2018-01-02 20:22:12 +00:00
|
|
|
fedora-out-of-tree:
|
2017-11-01 21:10:55 +00:00
|
|
|
docker:
|
|
|
|
- image: fedora
|
|
|
|
steps:
|
|
|
|
- checkout
|
2017-11-02 16:33:12 +00:00
|
|
|
- run: dnf install -y pkg-config ragel gcc gcc-c++ automake autoconf libtool make which glib2-devel freetype-devel cairo-devel libicu-devel gobject-introspection-devel graphite2-devel redhat-rpm-config || true
|
2018-01-02 20:22:12 +00:00
|
|
|
- run: NOCONFIGURE=1 ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
|
|
|
|
- run: mkdir build && cd build && ../configure && make && make check
|
2017-11-02 16:33:12 +00:00
|
|
|
|
|
|
|
archlinux:
|
|
|
|
docker:
|
|
|
|
- image: base/devel
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: pacman --noconfirm -Syu freetype2 cairo icu gettext gobject-introspection gcc gcc-libs glib2 graphite pkg-config ragel
|
2017-12-24 22:02:46 +00:00
|
|
|
- run: ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
|
|
|
|
- run: make && make check
|
2017-11-01 21:10:55 +00:00
|
|
|
|
2017-11-01 10:05:46 +00:00
|
|
|
freebsd9:
|
|
|
|
docker:
|
|
|
|
- image: donbowman/freebsd-cross-build
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install -y pkg-config ragel
|
2017-12-24 22:02:46 +00:00
|
|
|
- run: ./autogen.sh --prefix=/freebsd --host=x86_64-pc-freebsd9
|
|
|
|
- run: make
|
2017-11-01 10:05:46 +00:00
|
|
|
|
2017-10-31 19:42:08 +00:00
|
|
|
base:
|
|
|
|
docker:
|
|
|
|
- image: dockcross/base
|
|
|
|
steps:
|
|
|
|
- checkout
|
2017-12-05 22:49:25 +00:00
|
|
|
- run: apt update && apt install -y pkg-config ragel gtk-doc-tools libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev
|
|
|
|
- run: cmake -DHB_HAVE_FREETYPE=ON -DHB_HAVE_GRAPHITE2=ON -DHB_BUILTIN_UCDN=ON -DHB_HAVE_GLIB=ON -DHB_HAVE_ICU=ON -DHB_BUILD_UTILS=ON -Bbuild -H. -GNinja
|
|
|
|
- run: ninja -Cbuild
|
|
|
|
- run: ninja -Cbuild test
|
2017-12-06 14:57:27 +00:00
|
|
|
- run: ninja -Cbuild install
|
2017-10-31 19:42:08 +00:00
|
|
|
|
2018-01-04 06:41:34 +00:00
|
|
|
distcheck:
|
2017-12-07 08:05:36 +00:00
|
|
|
docker:
|
|
|
|
- image: dockcross/base
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install -y pkg-config ragel gtk-doc-tools libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev
|
2018-01-04 06:41:34 +00:00
|
|
|
- run: ./autogen.sh && make distcheck
|
2018-01-05 09:12:20 +00:00
|
|
|
- run: make distdir && cd harfbuzz-* && cmake -DDHB_CHECK=ON -Bbuild -H. -GNinja && ninja -Cbuild && CTEST_OUTPUT_ON_FAILURE=1 ninja -Cbuild test && ninja -Cbuild install
|
2017-12-07 08:05:36 +00:00
|
|
|
|
2017-11-01 09:10:18 +00:00
|
|
|
psvita:
|
|
|
|
docker:
|
|
|
|
- image: dockcross/base
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install ragel
|
|
|
|
- run: git clone https://github.com/vitasdk/vdpm && cd vdpm && ./bootstrap-vitasdk.sh
|
2017-12-24 22:02:46 +00:00
|
|
|
- run: ./autogen.sh --prefix=/usr/local/vitasdk/arm-vita-eabi --host=arm-vita-eabi
|
|
|
|
- run: make
|
2017-11-01 09:10:18 +00:00
|
|
|
|
2017-10-31 19:42:08 +00:00
|
|
|
android-arm:
|
|
|
|
docker:
|
|
|
|
- image: dockcross/android-arm
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install ragel
|
2017-12-24 22:02:46 +00:00
|
|
|
- run: cmake -Bbuild -H. -GNinja
|
|
|
|
- run: ninja -Cbuild
|
2017-10-31 19:42:08 +00:00
|
|
|
|
|
|
|
browser-asmjs:
|
|
|
|
docker:
|
|
|
|
- image: dockcross/browser-asmjs
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install ragel
|
2017-12-24 22:02:46 +00:00
|
|
|
- run: cmake -Bbuild -H. -GNinja
|
|
|
|
- run: ninja -Cbuild
|
2017-10-31 19:42:08 +00:00
|
|
|
|
2017-10-31 20:25:46 +00:00
|
|
|
linux-arm64:
|
2017-10-31 19:42:08 +00:00
|
|
|
docker:
|
2017-10-31 20:25:46 +00:00
|
|
|
- image: dockcross/linux-arm64
|
2017-10-31 19:42:08 +00:00
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install ragel
|
2017-12-24 22:02:46 +00:00
|
|
|
- run: cmake -Bbuild -H. -GNinja
|
|
|
|
- run: ninja -Cbuild
|
2017-10-31 19:42:08 +00:00
|
|
|
|
|
|
|
linux-mips:
|
|
|
|
docker:
|
|
|
|
- image: dockcross/linux-mips
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install ragel
|
2017-12-24 22:02:46 +00:00
|
|
|
- run: cmake -Bbuild -H. -GNinja
|
|
|
|
- run: ninja -Cbuild
|
2017-10-31 19:42:08 +00:00
|
|
|
|
|
|
|
windows-x64:
|
|
|
|
docker:
|
|
|
|
- image: dockcross/windows-x64
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install ragel
|
2017-12-24 22:02:46 +00:00
|
|
|
- run: cmake -Bbuild -H. -GNinja
|
|
|
|
- run: ninja -Cbuild
|
|
|
|
|
|
|
|
alpine:
|
|
|
|
docker:
|
|
|
|
- image: alpine
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apk update && apk add ragel make pkgconfig libtool autoconf automake gettext gcc g++ glib-dev freetype-dev cairo-dev
|
|
|
|
- run: ./autogen.sh
|
|
|
|
- run: make && make check
|
2017-10-31 19:42:08 +00:00
|
|
|
|
2017-12-21 16:45:37 +00:00
|
|
|
dos:
|
|
|
|
docker:
|
|
|
|
- image: quay.io/ebraminio/djgpp
|
|
|
|
steps:
|
|
|
|
- checkout
|
|
|
|
- run: apt update && apt install -y ragel pkg-config libtool autoconf
|
2017-12-24 22:02:46 +00:00
|
|
|
- run: CFLAGS="-Wno-attributes" CXXFLAGS="-Wno-attributes" ./autogen.sh --prefix=/usr/local/djgpp --host=i586-pc-msdosdjgpp
|
|
|
|
- run: make
|
2017-12-21 16:45:37 +00:00
|
|
|
|
2017-10-31 19:42:08 +00:00
|
|
|
workflows:
|
|
|
|
version: 2
|
|
|
|
build:
|
|
|
|
jobs:
|
2017-11-21 06:07:26 +00:00
|
|
|
- oracledeveloperstudio
|
2018-01-02 20:22:12 +00:00
|
|
|
- fedora-out-of-tree
|
2017-11-02 16:33:12 +00:00
|
|
|
- archlinux
|
2017-11-01 10:05:46 +00:00
|
|
|
- freebsd9
|
2017-10-31 19:42:08 +00:00
|
|
|
- base
|
2018-01-04 06:41:34 +00:00
|
|
|
- distcheck
|
2017-11-01 09:10:18 +00:00
|
|
|
- psvita
|
2017-10-31 19:42:08 +00:00
|
|
|
- android-arm
|
|
|
|
- browser-asmjs
|
2017-10-31 20:25:46 +00:00
|
|
|
- linux-arm64
|
2017-10-31 19:42:08 +00:00
|
|
|
- linux-mips
|
|
|
|
- windows-x64
|
2017-12-24 22:02:46 +00:00
|
|
|
- alpine
|
2017-12-21 16:45:37 +00:00
|
|
|
- dos
|