2017-10-31 20:42:08 +01:00
version : 2
2017-11-01 08:15:27 +01:00
2017-10-31 20:42:08 +01:00
jobs :
2018-11-24 23:09:00 +01:00
macos-10.12.6-aat-fonts :
2018-03-23 15:07:01 +01:00
macos :
2019-10-24 19:35:38 +02:00
xcode : "9.0.1"
2018-03-23 15:07:01 +01:00
steps :
- checkout
2019-02-14 20:34:28 +01:00
- run : HOMEBREW_NO_AUTO_UPDATE=1 brew install wget autoconf automake libtool pkg-config ragel freetype glib cairo
2018-11-23 13:10:05 +01:00
- run : ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo
- run : make -j4
2018-03-23 15:07:01 +01:00
- run : make check || .ci/fail.sh
2018-11-24 23:09:00 +01:00
macos-10.13.6-aat-fonts :
macos :
xcode : "10.1.0"
steps :
- checkout
2019-02-14 20:34:28 +01:00
- run : HOMEBREW_NO_AUTO_UPDATE=1 brew install wget autoconf automake libtool pkg-config ragel freetype glib cairo
2018-11-24 23:09:00 +01:00
- run : ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo
- run : make -j4
- run : make check || .ci/fail.sh
2019-09-14 08:05:08 +02:00
macos-10.14.4-aat-fonts :
2019-03-07 23:03:41 +01:00
macos :
2019-09-14 08:05:08 +02:00
xcode : "11.0.0"
2019-03-07 23:03:41 +01:00
steps :
- checkout
2019-09-14 08:50:09 +02:00
- run : HOMEBREW_NO_AUTO_UPDATE=1 brew install wget autoconf automake libtool pkg-config ragel freetype glib cairo icu4c graphite2 cmake
2019-04-14 22:04:04 +02:00
- run : export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig" && ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-coretext --with-graphite2
2019-03-07 23:03:41 +01:00
- run : make -j4
- run : make check || .ci/fail.sh
2019-09-14 08:23:12 +02:00
- run : cmake -Bbuild -H. -DHB_HAVE_CORETEXT=1 -DHB_BUILD_TESTS=0 && cmake --build build
2019-03-07 23:03:41 +01:00
2018-01-10 21:21:56 +01:00
distcheck :
2017-11-21 07:07:26 +01:00
docker :
2019-05-07 09:34:00 +02:00
- image : ubuntu:19.04
2017-11-21 07:07:26 +01:00
steps :
- checkout
2018-10-01 08:10:29 +02:00
- run : apt update && apt install -y ninja-build binutils libtool autoconf automake make cmake gcc g++ pkg-config ragel gtk-doc-tools libfontconfig1-dev libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
2018-02-11 13:10:55 +01:00
- run : pip install fonttools
2018-02-15 10:25:24 +01:00
- run : ./autogen.sh
2018-09-29 22:45:25 +02:00
- run : make -j32
2018-02-15 10:25:24 +01:00
- run : make distcheck || .ci/fail.sh
- run : rm -rf harfbuzz-*
2018-01-22 16:07:26 +01:00
- run : make distdir && cd harfbuzz-* && cmake -DHB_CHECK=ON -Bbuild -H. -GNinja && ninja -Cbuild && CTEST_OUTPUT_ON_FAILURE=1 ninja -Cbuild test && ninja -Cbuild install
2017-11-21 07:07:26 +01:00
2019-06-10 13:26:36 +02:00
alpine-O3-Os-NOMMAP :
2017-11-01 22:10:55 +01:00
docker :
2018-01-10 21:21:56 +01:00
- image : alpine
2017-11-01 22:10:55 +01:00
steps :
- checkout
2019-02-09 14:03:28 +01:00
- run : apk update && apk add ragel make pkgconfig libtool autoconf automake gettext gcc g++ glib-dev freetype-dev cairo-dev python
2018-02-20 08:23:10 +01:00
# C??FLAGS are not needed for a regular build
2018-06-30 23:24:14 +02:00
- run : CFLAGS="-O3" CXXFLAGS="-O3 -DHB_NO_MMAP" ./autogen.sh
2018-09-29 22:45:25 +02:00
- run : make -j32
2018-02-15 10:25:24 +01:00
- run : make check || .ci/fail.sh
2019-06-10 13:26:36 +02:00
- run : make clean
2019-06-10 17:16:51 +02:00
- run : CFLAGS="-Os -DHB_OPTIMIZE_SIZE" CXXFLAGS="-Os -DHB_NO_MMAP -DHB_OPTIMIZE_SIZE" ./autogen.sh
2019-06-10 13:26:36 +02:00
- run : make -j32
- run : make check || .ci/fail.sh
2017-11-02 17:33:12 +01:00
2019-01-04 20:40:39 +01:00
archlinux-py3-all :
2017-11-02 17:33:12 +01:00
docker :
2019-02-09 14:03:28 +01:00
- image : archlinux/base
2017-11-02 17:33:12 +01:00
steps :
- checkout
2019-02-09 22:38:05 +01:00
- run : pacman --noconfirm -Syu freetype2 cairo icu gettext gobject-introspection gcc gcc-libs glib2 graphite pkg-config ragel python python-pip make which base-devel
2018-12-31 04:30:43 +01:00
- run : pip install flake8 fonttools
- run : flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
2018-02-20 08:23:10 +01:00
# C??FLAGS are not needed for a regular build
2019-01-18 01:12:07 +01:00
- run : ./autogen.sh --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2
2019-01-04 20:40:39 +01:00
- run : make -j32 CPPFLAGS="-Werror"
- run : make check CPPFLAGS="-Werror" || .ci/fail.sh
2017-11-01 22:10:55 +01:00
2019-02-08 13:00:17 +01:00
## Doesn't play well with CircleCI apparently
#void-notest:
# docker:
# - image: voidlinux/voidlinux
# steps:
# - checkout
# - run: xbps-install -Suy freetype gettext gcc glib graphite pkg-config ragel libtool autoconf automake make
# - run: ./autogen.sh && make -j32 && make check
2017-11-01 22:10:55 +01:00
2019-06-18 09:44:10 +02:00
clang-O3-O0-and-nobuildsystem :
2018-02-24 14:12:12 +01:00
docker :
2019-01-31 00:02:29 +01:00
- image : ubuntu:18.10
2018-02-24 14:12:12 +01:00
steps :
- checkout
2018-06-27 15:44:52 +02:00
- run : apt update || true
2019-03-29 22:14:55 +01:00
- run : apt install -y clang wget autoconf automake libtool pkg-config ragel libfreetype6-dev libfontconfig1-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
2018-02-24 14:12:12 +01:00
- run : pip install fonttools
2018-09-29 22:45:25 +02:00
- run : wget http://download.savannah.gnu.org/releases/freetype/freetype-2.9.tar.bz2 && tar xf freetype-2.9.tar.bz2 && cd freetype-2.9 && ./autogen.sh && ./configure && make -j32 && cd ..
2018-10-01 08:10:29 +02:00
- run : CFLAGS="-O3" CXXFLAGS="-O3" CC=clang CXX=clang++ ./autogen.sh --with-freetype --with-fontconfig --with-glib --with-cairo --with-icu --with-graphite2
2018-09-29 22:45:25 +02:00
- run : make -j32
2018-02-24 14:12:12 +01:00
- run : LD_LIBRARY_PATH="$PWD/freetype-2.9/objs/.libs" make check || .ci/fail.sh
2018-10-01 08:10:29 +02:00
- run : CFLAGS="-O0" CXXFLAGS="-O0" CC=clang CXX=clang++ ./autogen.sh --with-freetype --with-fontconfig --with-glib --with-cairo --with-icu --with-graphite2
2018-09-29 22:45:25 +02:00
- run : make -j32
2018-02-24 14:12:12 +01:00
- run : LD_LIBRARY_PATH="$PWD/freetype-2.9/objs/.libs" make check || .ci/fail.sh
2019-10-23 10:48:21 +02:00
- run : make clean
2019-10-29 20:25:34 +01:00
- run : make -Csrc CPPFLAGS="-DHB_TINY -DHB_NO_OT_FONT" libharfbuzz-subset.la && make clean
2019-10-23 10:48:21 +02:00
- run : clang -c src/hb-*.cc -DHB_NO_MT
2018-02-24 14:12:12 +01:00
2018-10-19 07:54:21 +02:00
gcc-valgrind :
docker :
- image : ubuntu:18.10
steps :
- checkout
- run : apt update || true
- run : apt install -y gcc binutils libtool autoconf automake make pkg-config gtk-doc-tools ragel libfreetype6-dev libfontconfig1-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip valgrind
- run : pip install fonttools
- run : ./autogen.sh --with-freetype --with-glib --with-cairo --with-icu --with-graphite2 --with-fontconfig
- run : make -j32
2018-10-19 17:16:41 +02:00
# run-shape-fuzzer-tests.py automatically runs valgrind if see available
# but test/api runs it by request, we probably should normalize the approaches
2019-10-24 19:35:38 +02:00
- run : HB_TEST_SHAPE_FUZZER_TIMEOUT=3 HB_TEST_SUBSET_FUZZER_TIMEOUT=30 RUN_VALGRIND=1 make check && make -Ctest/api check-valgrind || .ci/fail.sh
2018-10-19 17:16:41 +02:00
# informational for now
- run : make -Ctest/api check-symbols || true
2018-10-19 07:54:21 +02:00
2018-09-25 07:54:35 +02:00
clang-everything :
docker :
- image : ubuntu:18.10
steps :
- checkout
- run : apt update || true; apt install -y wget gnupg
- run : wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
- run : echo "deb http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdev.list
- run : echo "deb-src http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdevsrc.list
- run : apt update || true
2018-10-02 20:09:19 +02:00
- run : apt install -y clang lld binutils libtool autoconf automake make pkg-config gtk-doc-tools ragel libfreetype6-dev libfontconfig1-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
2018-09-25 07:54:35 +02:00
- run : pip install fonttools
2019-09-21 13:54:41 +02:00
- run : CFLAGS="-Weverything -Wno-reserved-id-macro -Wno-conversion -Wno-padded -Wno-sign-conversion -Wno-cast-qual -Wno-documentation -Wno-documentation-unknown-command -DHB_WITH_WIN1256" CXXFLAGS="-Weverything -Wno-old-style-cast -Wno-documentation -Wno-documentation-unknown-command -Wno-c++98-compat -Wno-cast-qual -Wno-c++98-compat-pedantic -Wno-sign-conversion -Wno-padded -Wno-shorten-64-to-32 -Wno-reserved-id-macro -Wno-float-conversion -Wno-format-pedantic -Wno-shadow -Wno-conversion -Wno-zero-as-null-pointer-constant -Wno-missing-field-initializers -Wno-used-but-marked-unused -Wno-unused-macros -Wno-comma -Wno-float-equal -Wno-disabled-macro-expansion -Wno-weak-vtables -Wno-unused-parameter -Wno-covered-switch-default -Wno-unreachable-code -Wno-unused-template -DHB_WITH_WIN1256" CC=clang CXX=clang++ ./autogen.sh --with-freetype --with-glib --with-cairo --with-icu --with-graphite2 --with-fontconfig
2018-10-01 22:46:08 +02:00
- run : make -j32 CPPFLAGS="-Werror"
- run : make check CPPFLAGS="-Werror" || .ci/fail.sh
2018-09-25 07:54:35 +02:00
2018-09-22 12:52:17 +02:00
clang-asan :
docker :
2018-09-24 23:30:32 +02:00
- image : ubuntu:18.10
2018-09-22 12:52:17 +02:00
steps :
- checkout
2018-09-24 23:30:32 +02:00
- run : apt update || true; apt install -y wget gnupg
- run : wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
- run : echo "deb http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdev.list
- run : echo "deb-src http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdevsrc.list
2018-09-22 12:52:17 +02:00
- run : apt update || true
2018-09-24 23:30:32 +02:00
- run : apt install -y clang lld binutils libtool autoconf automake make pkg-config gtk-doc-tools ragel libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
2018-09-22 12:52:17 +02:00
- run : pip install fonttools
2018-09-26 22:38:06 +02:00
- run : CPPFLAGS="-fsanitize=address" LDFLAGS="-fsanitize=address -O1 -g -fno-omit-frame-pointer" CFLAGS="-fsanitize=address -O1 -g -fno-omit-frame-pointer" CXXFLAGS="-fsanitize=address -O1 -g -fno-omit-frame-pointer" LD=ld.lld CC=clang CXX=clang++ ./autogen.sh --with-freetype --with-glib --with-cairo --with-icu --with-graphite2
2018-09-29 22:45:25 +02:00
- run : make -j32
2018-09-24 23:30:32 +02:00
- run : make check || .ci/fail.sh | asan_symbolize | c++filt
2018-09-22 12:52:17 +02:00
clang-msan :
docker :
2018-09-24 23:30:32 +02:00
- image : ubuntu:18.10
2018-09-22 12:52:17 +02:00
steps :
- checkout
2018-09-24 23:30:32 +02:00
- run : apt update || true; apt install -y wget gnupg
- run : wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
- run : echo "deb http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdev.list
- run : echo "deb-src http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdevsrc.list
2018-09-22 12:52:17 +02:00
- run : apt update || true
2018-10-01 22:46:08 +02:00
- run : apt install -y clang lld binutils libtool autoconf automake gtk-doc-tools gettext make pkg-config ragel libcairo2-dev libicu-dev libmount-dev libgraphite2-dev python python-pip
2018-09-22 12:52:17 +02:00
- run : pip install fonttools
2018-09-30 15:01:28 +02:00
- run : update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.lld" 10
2018-10-01 22:46:08 +02:00
- run : wget https://ftp.gnome.org/pub/gnome/sources/glib/2.58/glib-2.58.1.tar.xz && tar xf glib-2.58.1.tar.xz && cd glib-2.58.1 && ./autogen.sh --with-pcre CPPFLAGS="-fsanitize=memory" LDFLAGS="-fsanitize=memory" CFLAGS="-fsanitize=memory" CXXFLAGS="-fsanitize=memory" LD=ld.lld CC=clang CXX=clang++ && make -j32 && make install && cd ..
2018-09-30 16:14:15 +02:00
- run : wget http://download.savannah.gnu.org/releases/freetype/freetype-2.9.tar.bz2 && tar xf freetype-2.9.tar.bz2 && cd freetype-2.9 && ./autogen.sh && ./configure CPPFLAGS="-fsanitize=memory" LDFLAGS="-fsanitize=memory -O1 -g -fno-omit-frame-pointer" CFLAGS="-fsanitize=memory -O1 -g -fno-omit-frame-pointer" CXXFLAGS="-fsanitize=memory -O1 -g -fno-omit-frame-pointer" LD=ld.lld CC=clang CXX=clang++ && make -j32 && make install && cd ..
2018-10-06 21:12:56 +02:00
- run : CPPFLAGS="-fsanitize=memory -fsanitize-memory-track-origins" LDFLAGS="-fsanitize=memory -fsanitize-memory-track-origins -O1 -g -fno-omit-frame-pointer" CFLAGS="-fsanitize=memory -fsanitize-memory-track-origins -O1 -g -fno-omit-frame-pointer" CXXFLAGS="-fsanitize=memory -fsanitize-memory-track-origins -O1 -g -fno-omit-frame-pointer" LD=ld.lld CC=clang CXX=clang++ ./autogen.sh --with-freetype --with-glib --without-icu
2019-10-24 19:35:38 +02:00
- run : make -j32 && MSAN_OPTIONS=exitcode=42 HB_TEST_SUBSET_FUZZER_TIMEOUT=12 make check || .ci/fail.sh | asan_symbolize | c++filt
2018-09-22 12:52:17 +02:00
clang-tsan :
docker :
2018-09-24 23:30:32 +02:00
- image : ubuntu:18.10
2018-09-22 12:52:17 +02:00
steps :
- checkout
2018-09-24 23:30:32 +02:00
- run : apt update || true; apt install -y wget gnupg
- run : wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
- run : echo "deb http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdev.list
- run : echo "deb-src http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdevsrc.list
2018-09-22 12:52:17 +02:00
- run : apt update || true
2018-09-24 23:30:32 +02:00
- run : apt install -y clang lld binutils libtool autoconf automake make pkg-config ragel libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
2018-09-22 12:52:17 +02:00
- run : pip install fonttools
2018-09-26 22:38:06 +02:00
- run : CPPFLAGS="-fsanitize=thread" LDFLAGS="-fsanitize=thread -O1 -g -fno-omit-frame-pointer" CFLAGS="-fsanitize=thread -O1 -g -fno-omit-frame-pointer" CXXFLAGS="-fsanitize=thread -O1 -g -fno-omit-frame-pointer" LD=ld.lld CC=clang CXX=clang++ ./autogen.sh --with-freetype --with-glib --with-cairo --with-icu --with-graphite2
2018-09-29 22:45:25 +02:00
- run : make -j32
2019-10-24 19:35:38 +02:00
- run : HB_TEST_SUBSET_FUZZER_TIMEOUT=40 make check || .ci/fail.sh | asan_symbolize | c++filt
2018-09-22 12:52:17 +02:00
clang-ubsan :
docker :
2018-09-24 23:30:32 +02:00
- image : ubuntu:18.10
2018-09-22 12:52:17 +02:00
steps :
- checkout
2018-09-24 23:30:32 +02:00
- run : apt update || true; apt install -y wget gnupg
- run : wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
- run : echo "deb http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdev.list
- run : echo "deb-src http://apt.llvm.org/cosmic/ llvm-toolchain-cosmic main" > /etc/apt/sources.list.d/llvmdevsrc.list
2018-09-22 12:52:17 +02:00
- run : apt update || true
2018-09-24 23:30:32 +02:00
- run : apt install -y clang lld binutils libtool autoconf automake make pkg-config ragel libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
2018-09-22 12:52:17 +02:00
- run : pip install fonttools
2019-09-17 22:13:44 +02:00
- run : CPPFLAGS="-fsanitize=undefined -fno-sanitize-recover=undefined" LDFLAGS="-fsanitize=undefined -fno-sanitize-recover=undefined -O1 -g -fno-omit-frame-pointer" CFLAGS="-fsanitize=undefined -O1 -g -fno-omit-frame-pointer" CXXFLAGS="-fsanitize=undefined -O1 -g -fno-omit-frame-pointer" LD=ld.lld CC=clang CXX=clang++ ./autogen.sh --with-freetype --with-glib --with-cairo --with-icu --with-graphite2
2018-09-29 22:45:25 +02:00
- run : make -j32
2019-09-17 22:13:44 +02:00
- run : UBSAN_OPTIONS=print_stacktrace=1 make check || .ci/fail.sh | asan_symbolize | c++filt
2018-09-22 12:52:17 +02:00
2019-05-25 17:57:29 +02:00
fedora-O0-debug-outoftreebuild-mingw :
2017-11-01 11:05:46 +01:00
docker :
2018-01-10 21:21:56 +01:00
- image : fedora
2017-11-01 11:05:46 +01:00
steps :
- checkout
2019-06-10 12:23:14 +02: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 python mingw32-gcc-c++ mingw64-gcc-c++ mingw32-glib2 mingw32-cairo mingw32-freetype mingw64-glib2 mingw64-cairo mingw64-freetype glibc-devel.i686 || true
2019-09-14 08:48:47 +02:00
- run : NOCONFIGURE=1 ./autogen.sh
- run : mkdir build && cd build && CFLAGS="-O0" CXXFLAGS="-O0" CPPFLAGS="-DHB_DEBUG" ../configure --with-freetype --with-glib --with-gobject --with-cairo --with-icu --with-graphite2 && make -j32 && (make check || ../.ci/fail.sh)
2019-05-25 20:03:02 +02:00
- run : pip install pefile
- run : mkdir winbuild32 && cd winbuild32 && ../mingw32.sh && make -j32 && make dist-win && cp harfbuzz-*-win32.zip harfbuzz-win32.zip
- run : mkdir winbuild64 && cd winbuild64 && ../mingw64.sh && make -j32 && make dist-win && cp harfbuzz-*-win64.zip harfbuzz-win64.zip
2019-05-25 17:57:29 +02:00
- store_artifacts :
2019-05-25 20:03:02 +02:00
path : winbuild32/harfbuzz-win32.zip
2019-05-25 20:25:06 +02:00
destination : harfbuzz-win32.zip
2019-05-25 17:57:29 +02:00
- store_artifacts :
2019-05-25 20:03:02 +02:00
path : winbuild64/harfbuzz-win64.zip
2019-05-25 20:25:06 +02:00
destination : harfbuzz-win64.zip
2017-11-01 11:05:46 +01:00
2018-01-10 21:21:56 +01:00
cmake-gcc :
2017-10-31 20:42:08 +01:00
docker :
2019-05-07 09:34:00 +02:00
- image : ubuntu:19.04
2017-10-31 20:42:08 +01:00
steps :
- checkout
2018-02-11 13:10:55 +01:00
- run : apt update && apt install -y ninja-build binutils cmake gcc g++ pkg-config ragel gtk-doc-tools libfreetype6-dev libglib2.0-dev libcairo2-dev libicu-dev libgraphite2-dev python python-pip
- run : pip install fonttools
2018-01-16 11:48:09 +01:00
- run : cmake -DHB_CHECK=ON -Bbuild -H. -GNinja
2017-12-05 23:49:25 +01:00
- run : ninja -Cbuild
2018-01-11 05:45:06 +01:00
- run : CTEST_OUTPUT_ON_FAILURE=1 ninja -Cbuild test
2017-12-06 15:57:27 +01:00
- run : ninja -Cbuild install
2017-10-31 20:42:08 +01:00
2019-05-14 13:46:46 +02:00
#cmake-oracledeveloperstudio:
# docker:
# - image: fedora
# steps:
# - checkout
# - run: dnf install -y gcc ragel cmake make which glib2-devel freetype-devel cairo-devel libicu-devel graphite2-devel wget tar bzip2 python libnsl || true
# - 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
2019-05-24 03:37:17 +02:00
# - 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_HAVE_GLIB=ON -DHB_HAVE_FREETYPE=ON -Bbuild -H.
2019-05-14 13:46:46 +02:00
# - run: make -Cbuild -j32
# - run: CTEST_OUTPUT_ON_FAILURE=1 make -Cbuild test
# - run: make -Cbuild install
2018-01-10 21:21:56 +01:00
crosscompile-notest-djgpp :
docker :
2018-11-08 08:29:50 +01:00
# https://gist.github.com/ebraminio/8551fc74f27951e668102baa2f6b1175
2018-01-10 21:21:56 +01:00
- image : quay.io/ebraminio/djgpp
steps :
- checkout
- run : apt update && apt install -y ragel pkg-config libtool autoconf
- run : CFLAGS="-Wno-attributes" CXXFLAGS="-Wno-attributes" ./autogen.sh --prefix=/usr/local/djgpp --host=i586-pc-msdosdjgpp
2018-09-29 22:45:25 +02:00
- run : make -j32
2017-12-07 09:05:36 +01:00
2018-01-10 21:21:56 +01:00
crosscompile-notest-psvita :
2017-11-01 10:10:18 +01:00
docker :
- image : dockcross/base
steps :
- checkout
- run : git clone https://github.com/vitasdk/vdpm && cd vdpm && ./bootstrap-vitasdk.sh
2019-04-14 22:04:04 +02:00
- run : echo '#!/bin/true' > /usr/bin/ragel && chmod +x /usr/bin/ragel
2017-12-24 23:02:46 +01:00
- run : ./autogen.sh --prefix=/usr/local/vitasdk/arm-vita-eabi --host=arm-vita-eabi
2018-09-29 22:45:25 +02:00
- run : make -j32
2017-11-01 10:10:18 +01:00
2018-01-10 21:21:56 +01:00
crosscompile-cmake-notest-android-arm :
2017-10-31 20:42:08 +01:00
docker :
- image : dockcross/android-arm
steps :
- checkout
2019-07-05 16:16:41 +02:00
- run : cmake -Bbuild -H. -GNinja -DHB_BUILD_TESTS=OFF
2017-12-24 23:02:46 +01:00
- run : ninja -Cbuild
2017-10-31 20:42:08 +01:00
2019-05-14 13:46:46 +02:00
crosscompile-cmake-notest-browser-asmjs-hb_tiny :
2017-10-31 20:42:08 +01:00
docker :
- image : dockcross/browser-asmjs
steps :
- checkout
2019-07-05 16:16:41 +02:00
- run : cmake -Bbuild -H. -GNinja -DCMAKE_CXX_FLAGS="-DHB_TINY" -DHB_BUILD_TESTS=OFF
2017-12-24 23:02:46 +01:00
- run : ninja -Cbuild
2017-10-31 20:42:08 +01:00
2019-07-17 20:27:46 +02:00
crosscompile-cmake-notest-linux-arm64 :
docker :
- image : dockcross/linux-arm64
steps :
- checkout
- run : cmake -Bbuild -H. -GNinja -DHB_BUILD_TESTS=OFF
- run : ninja -Cbuild
2017-10-31 20:42:08 +01:00
2018-01-10 21:21:56 +01:00
crosscompile-cmake-notest-linux-mips :
2017-10-31 20:42:08 +01:00
docker :
- image : dockcross/linux-mips
steps :
- checkout
2019-07-05 16:16:41 +02:00
- run : cmake -Bbuild -H. -GNinja -DHB_BUILD_TESTS=OFF
2017-12-24 23:02:46 +01:00
- run : ninja -Cbuild
2017-10-31 20:42:08 +01:00
2018-10-21 23:14:28 +02:00
#crosscompile-cmake-notest-windows-x64:
# docker:
# - image: dockcross/windows-x64
# steps:
# - checkout
# - run: cmake -Bbuild -H. -GNinja
# - run: ninja -Cbuild
2017-12-24 23:02:46 +01:00
2017-10-31 20:42:08 +01:00
workflows :
version : 2
build :
jobs :
2018-03-23 15:07:01 +01:00
# macOS
2018-11-24 23:09:00 +01:00
- macos-10.12.6-aat-fonts
- macos-10.13.6-aat-fonts
2019-09-14 08:05:08 +02:00
- macos-10.14.4-aat-fonts
2018-03-23 15:07:01 +01:00
2018-01-10 21:21:56 +01:00
# both autotools and cmake
2018-01-04 07:41:34 +01:00
- distcheck
2018-01-10 21:21:56 +01:00
# autotools based builds
2019-06-10 13:26:36 +02:00
- alpine-O3-Os-NOMMAP
2019-01-04 20:40:39 +01:00
- archlinux-py3-all
2019-02-08 13:00:17 +01:00
#- void-notest
2018-10-19 07:54:21 +02:00
- gcc-valgrind
2019-06-18 09:44:10 +02:00
- clang-O3-O0-and-nobuildsystem
2018-09-25 07:54:35 +02:00
- clang-everything
2018-09-22 12:52:17 +02:00
- clang-asan
2018-09-29 22:45:25 +02:00
- clang-msan
2018-09-22 12:52:17 +02:00
- clang-tsan
2018-09-24 19:12:15 +02:00
- clang-ubsan
2019-05-25 17:57:29 +02:00
- fedora-O0-debug-outoftreebuild-mingw
2018-01-10 21:21:56 +01:00
# cmake based builds
- cmake-gcc
2019-02-14 08:54:36 +01:00
#- cmake-oracledeveloperstudio
2018-01-10 21:21:56 +01:00
# crosscompiles
# they can't be test thus are without tests
## autotools
- crosscompile-notest-djgpp
- crosscompile-notest-psvita
## cmake
- crosscompile-cmake-notest-android-arm
2019-05-14 13:46:46 +02:00
- crosscompile-cmake-notest-browser-asmjs-hb_tiny
2019-07-17 20:27:46 +02:00
- crosscompile-cmake-notest-linux-arm64
2018-01-10 21:21:56 +01:00
- crosscompile-cmake-notest-linux-mips
2018-10-21 23:14:28 +02:00
#- crosscompile-cmake-notest-windows-x64