summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-01-17 16:01:59 +0400
committerFrediano Ziglio <fziglio@redhat.com>2019-07-09 11:05:29 +0100
commit9837f974cc32185f3bdb1d4102fd5b65607c3e02 (patch)
tree21a3d5fc9c158930b49d3c1a213d83eb46e07400 /.gitlab-ci.yml
parent0c761fe14f08dfeb78036e6b7a5ca3537f03f84f (diff)
Drop autotools
Maintaining 1 build system is hard. Maintaining 2 is even harder. It seems the meson build system is now in good shape to replace autotools. Like many desktop projects, let's move entirely to meson and drop autotools support. Known changes: - generating changelog files in the dist tarball. This is not strictly required, and can be added back later. - generated files are not included in the dist tarball. In some ways, this can be considered a good thing. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Victor Toso <victortoso@redhat.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml68
1 files changed, 4 insertions, 64 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5ddb4db..fa70f7a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,9 @@
image: fedora:latest
variables:
- DEPS_COMMON: git libtool make python3 python3-six redhat-rpm-config
+ DEPS_COMMON: git make python3 python3-six redhat-rpm-config
python3-pyparsing meson ninja-build gtk-doc glib2-devel
- gettext gettext-devel
+ gettext gettext-devel gcc
DEPS_FEDORA: zlib-devel openssl-devel intltool gtk3-devel
gobject-introspection-devel cyrus-sasl-devel
@@ -18,56 +18,7 @@ variables:
mingw64-gtk3 mingw64-json-glib mingw64-opus
mingw64-gstreamer1-plugins-base mingw64-gstreamer1-plugins-good
-fedora-autotools:
- artifacts:
- paths:
- - tests/*.log
- when: always
- expire_in: 1 week
-
- before_script:
- - dnf install -y $DEPS_COMMON $DEPS_FEDORA
- - git clone ${CI_REPOSITORY_URL/spice-gtk/spice-protocol}
- - (cd spice-protocol && ./autogen.sh --prefix=/usr && make install)
-
- script:
- - git clean -xfd
- - git submodule foreach --recursive git clean -xfd
- # Run with default options + out-of-tree
- - mkdir build
- - cd build
- - ../autogen.sh --enable-static
- - make -j4
- - make check
- - cd ..
- # Run dist, check we don't have -dirty in the build
- - git clean -xfd
- - git submodule foreach --recursive git clean -xfd
- - git reset --hard HEAD
- - ./autogen.sh --disable-dependency-tracking --enable-celt051
- - make gitignore
- - (cd subprojects/spice-common && make gitignore)
- - ./autogen.sh --disable-dependency-tracking --enable-celt051
- - if grep -q 'VERSION=.*-dirty' configure; then echo 'Version is dirty!'; false; fi
- - make -j4
- - make dist
- - test -e spice-gtk-*.tar.bz2
- - test \! -e spice-gtk-*-dirty.tar.bz2
- # Run without features
- - git clean -xfd
- - git submodule foreach --recursive git clean -xfd
- - ./autogen.sh --enable-static
- --enable-lz4=no
- --enable-webdav=no
- --with-sasl=no
- --with-coroutine=auto
- --enable-pulse=no
- --enable-smartcard=no
- --enable-usbredir=no
- - make -j4
- - make check
-
-fedora-meson:
+fedora:
artifacts:
paths:
- build-*/meson-logs/*.txt
@@ -95,18 +46,7 @@ fedora-meson:
- ninja -C build-feat-disabled
- ninja -C build-feat-disabled test
-windows-autotools:
- before_script:
- - dnf install -y $DEPS_COMMON $DEPS_MINGW
- - git clone ${CI_REPOSITORY_URL/spice-gtk/spice-protocol}
- - (cd spice-protocol && autoreconf -if && mingw64-configure --prefix=/usr && make install)
-
- script:
- - NOCONFIGURE=yes ./autogen.sh
- - PYTHON=python3 mingw64-configure --enable-static
- - make -j4
-
-windows-meson:
+windows:
artifacts:
paths:
- build-win64/meson-logs/*.txt