2018-08-29 09:18:14 +02:00
|
|
|
image: fedora:rawhide
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- dnf -y upgrade --disablerepo=rawhide-modular --nogpgcheck fedora-repos fedora-repos-rawhide
|
|
|
|
- dnf -y upgrade --disablerepo=rawhide-modular
|
2019-01-29 08:49:22 +01:00
|
|
|
- dnf -y install --disablerepo=rawhide-modular --allowerasing --skip-broken @buildsys-build autoconf automake libtool gettext gettext-devel gperf expat-devel freetype-devel json-c-devel git docbook-utils docbook-utils-pdf bubblewrap
|
2019-03-23 08:05:23 +01:00
|
|
|
- dnf -y install --disablerepo=rawhide-modular --allowerasing --skip-broken mingw64-gettext mingw64-freetype mingw64-expat wine
|
2018-08-29 09:18:14 +02:00
|
|
|
|
2018-09-04 11:08:37 +02:00
|
|
|
shared-build:
|
2018-08-29 09:18:14 +02:00
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- export BUILD_ID="fontconfig-$CI_JOB_NAME_$CI_COMMIT_SHA-$CI_JOB_ID"
|
|
|
|
- export PREFIX="$(pwd)/prefix-$BUILD_ID"
|
|
|
|
- export BUILDDIR="$(pwd)/build-$BUILD_ID"
|
|
|
|
- export MAKEFLAGS="-j4"
|
|
|
|
- mkdir "$BUILDDIR" "$PREFIX"
|
|
|
|
- cd "$BUILDDIR"
|
2018-09-04 11:08:37 +02:00
|
|
|
- ../autogen.sh --prefix="$PREFIX" --enable-shared --disable-static
|
2018-08-29 09:18:14 +02:00
|
|
|
- make
|
|
|
|
- make check
|
|
|
|
- make install
|
|
|
|
- make distcheck
|
|
|
|
artifacts:
|
|
|
|
name: fontconfig-$CI_COMMIT_SHA-$CI_JOB_ID
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- build-*/fontconfig-*.tar.bz2
|
|
|
|
- build-*/fontconfig*/_build/sub/*.log
|
|
|
|
- build-*/fontconfig*/_build/sub/test/*.log
|
|
|
|
- build-*/fontconfig*/_build/sub/test/*.trs
|
|
|
|
- build-*/*.log
|
2018-10-04 10:30:33 +02:00
|
|
|
- build-*/test/*.log
|
|
|
|
- build-*/test/*.trs
|
2018-08-29 09:18:14 +02:00
|
|
|
- prefix-*
|
2018-09-04 11:08:37 +02:00
|
|
|
static-build:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- export BUILD_ID="fontconfig-$CI_JOB_NAME_$CI_COMMIT_SHA-$CI_JOB_ID"
|
|
|
|
- export PREFIX="$(pwd)/prefix-$BUILD_ID"
|
|
|
|
- export BUILDDIR="$(pwd)/build-$BUILD_ID"
|
|
|
|
- export MAKEFLAGS="-j4"
|
|
|
|
- mkdir "$BUILDDIR"
|
|
|
|
- cd "$BUILDDIR"
|
|
|
|
- ../autogen.sh --prefix="$PREFIX" --disable-shared --enable-static
|
|
|
|
- make
|
|
|
|
- make check
|
|
|
|
artifacts:
|
|
|
|
name: fontconfig-$CI_COMMIT_SHA-$CI_JOB_ID
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- build-*/*.log
|
|
|
|
- build-*/test/*.log
|
|
|
|
- build-*/test/*.trs
|
2019-03-22 08:58:04 +01:00
|
|
|
mingw-build:
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
- export BUILD_ID="fontconfig-$CI_JOB_NAME_$CI_COMMIT_SHA-$CI_JOB_ID"
|
|
|
|
- export PREFIX="$(pwd)/prefix-$BUILD_ID"
|
|
|
|
- export BUILDDIR="$(pwd)/build-$BUILD_ID"
|
|
|
|
- export MAKEFLAGS="-j4"
|
|
|
|
- mkdir "$BUILDDIR"
|
|
|
|
- cd "$BUILDDIR"
|
|
|
|
- eval `rpm --eval %{mingw64_env}`
|
2019-03-23 07:57:19 +01:00
|
|
|
- ../autogen.sh --prefix="$PREFIX" --host=x86_64-mingw32 --disable-shared --enable-static
|
2019-03-22 08:58:04 +01:00
|
|
|
- make
|
|
|
|
- make check
|
|
|
|
artifacts:
|
|
|
|
name: fontconfig-$CI_COMMIT_SHA-$CI_JOB_ID
|
|
|
|
when: always
|
|
|
|
paths:
|
|
|
|
- build-*/*.log
|
|
|
|
- build-*/test/*.log
|
|
|
|
- build-*/test/*.trs
|
|
|
|
|