ci: add new build to test release profile and distcheck
To avoid surprises when starting the release process make sure we have a build which actually runs the release profile and tests distcheck.
This commit is contained in:
parent
37b9bd5161
commit
8a2547aaea
|
@ -27,6 +27,8 @@ MISC_DISABLED_COPTS="--disable-neon --disable-libeeze --disable-systemd --disabl
|
||||||
--disable-pulseaudio --disable-avahi --disable-xinput2 --disable-xim --disable-scim \
|
--disable-pulseaudio --disable-avahi --disable-xinput2 --disable-xim --disable-scim \
|
||||||
--disable-ibus --disable-physics --disable-quick-launch --disable-elua"
|
--disable-ibus --disable-physics --disable-quick-launch --disable-elua"
|
||||||
|
|
||||||
|
RELEASE_READY_COPTS="--with-profile=release"
|
||||||
|
|
||||||
if [ "$CI_BUILD_TYPE" = "" ]; then
|
if [ "$CI_BUILD_TYPE" = "" ]; then
|
||||||
# Normal build test of all targets
|
# Normal build test of all targets
|
||||||
./autogen.sh $DEFAULT_COPTS
|
./autogen.sh $DEFAULT_COPTS
|
||||||
|
@ -53,3 +55,9 @@ if [ "$CI_BUILD_TYPE" = "misc-disabled" ]; then
|
||||||
make -j $PARALLEL_JOBS
|
make -j $PARALLEL_JOBS
|
||||||
make -j $PARALLEL_JOBS examples
|
make -j $PARALLEL_JOBS examples
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$CI_BUILD_TYPE" = "release-ready" ]; then
|
||||||
|
./autogen.sh $RELEASE_READY_COPTS
|
||||||
|
make -j $PARALLEL_JOBS
|
||||||
|
make -j $PARALLEL_JOBS distcheck
|
||||||
|
fi
|
||||||
|
|
|
@ -13,6 +13,7 @@ env:
|
||||||
- DISTRO=Fedora27 CI_BUILD_TYPE=wayland
|
- DISTRO=Fedora27 CI_BUILD_TYPE=wayland
|
||||||
- DISTRO=Fedora27 CI_BUILD_TYPE=misc
|
- DISTRO=Fedora27 CI_BUILD_TYPE=misc
|
||||||
- DISTRO=Fedora27 CI_BUILD_TYPE=misc-disabled
|
- DISTRO=Fedora27 CI_BUILD_TYPE=misc-disabled
|
||||||
|
- DISTRO=Fedora27 CI_BUILD_TYPE=release-ready
|
||||||
- DISTRO=Debian91
|
- DISTRO=Debian91
|
||||||
- DISTRO=Archlinux
|
- DISTRO=Archlinux
|
||||||
|
|
||||||
|
@ -30,15 +31,20 @@ matrix:
|
||||||
env: DISTRO=Fedora27 CI_BUILD_TYPE=misc
|
env: DISTRO=Fedora27 CI_BUILD_TYPE=misc
|
||||||
- os: osx
|
- os: osx
|
||||||
env: DISTRO=Fedora27 CI_BUILD_TYPE=misc-disabled
|
env: DISTRO=Fedora27 CI_BUILD_TYPE=misc-disabled
|
||||||
|
- os: osx
|
||||||
|
env: DISTRO=Fedora27 CI_BUILD_TYPE=release-ready
|
||||||
- os: osx
|
- os: osx
|
||||||
env: DISTRO=Debian91
|
env: DISTRO=Debian91
|
||||||
- os: osx
|
- os: osx
|
||||||
env: DISTRO=Archlinux
|
env: DISTRO=Archlinux
|
||||||
|
|
||||||
- os: linux
|
- os: linux
|
||||||
env:
|
env:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- os: osx
|
- os: osx
|
||||||
env:
|
env:
|
||||||
|
- os: linux
|
||||||
|
env: DISTRO=Fedora27 CI_BUILD_TYPE=release-ready
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then .ci/ci-osx-deps.sh ; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then .ci/ci-osx-deps.sh ; fi
|
||||||
|
|
Loading…
Reference in New Issue