Add automated test build on ubuntu
This commit is contained in:
@@ -15,6 +15,18 @@ variables:
|
|||||||
libabigail
|
libabigail
|
||||||
intltool
|
intltool
|
||||||
LAST_ABI_BREAK: "abccaf488a929de1e95e6a748485575dec52c998"
|
LAST_ABI_BREAK: "abccaf488a929de1e95e6a748485575dec52c998"
|
||||||
|
UBUNTU_DEPENDENCIES:
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
autopoint
|
||||||
|
gettext
|
||||||
|
glib2.0
|
||||||
|
gtk-doc-tools
|
||||||
|
libgirepository1.0-dev
|
||||||
|
libtool
|
||||||
|
make
|
||||||
|
texinfo
|
||||||
|
texlive
|
||||||
|
|
||||||
build-fedora:
|
build-fedora:
|
||||||
image: fedora:latest
|
image: fedora:latest
|
||||||
@@ -35,3 +47,19 @@ build-fedora:
|
|||||||
- curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash
|
- curl https://gitlab.freedesktop.org/hadess/check-abi/-/raw/main/contrib/check-abi-fedora.sh | bash
|
||||||
- dnf install -y $FEDORA_DEPENDENCIES_ABI_CHECK
|
- dnf install -y $FEDORA_DEPENDENCIES_ABI_CHECK
|
||||||
- check-abi ${LAST_ABI_BREAK} $(git rev-parse HEAD)
|
- check-abi ${LAST_ABI_BREAK} $(git rev-parse HEAD)
|
||||||
|
|
||||||
|
build-ubuntu:
|
||||||
|
image: ubuntu:latest
|
||||||
|
stage: build
|
||||||
|
except:
|
||||||
|
- tags
|
||||||
|
before_script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y $UBUNTU_DEPENDENCIES
|
||||||
|
script:
|
||||||
|
- mkdir _build
|
||||||
|
- cd _build
|
||||||
|
- ../autogen.sh
|
||||||
|
- make
|
||||||
|
- make install
|
||||||
|
- make distcheck
|
||||||
|
Reference in New Issue
Block a user