2018-05-31 10:18:17 +00:00
|
|
|
image: fedora:rawhide
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
|
|
|
variables:
|
|
|
|
DEPENDENCIES: libusb1-devel glib2-devel nss-devel pixman-devel systemd meson gtk-doc
|
2018-05-31 10:30:48 +00:00
|
|
|
gcc gcc-c++ glibc-devel libX11-devel libXv-devel
|
2018-05-31 10:18:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
before_script:
|
2018-07-20 10:22:50 +00:00
|
|
|
- dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
|
2018-05-31 10:18:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
script:
|
2018-09-28 13:55:56 +00:00
|
|
|
# Build with a driver that doesn't need imaging, or nss
|
|
|
|
- meson -Ddrivers=elan . _build
|
|
|
|
- ninja -C _build
|
2018-10-08 14:50:30 +00:00
|
|
|
- rm -rf _build/
|
2018-09-28 13:55:56 +00:00
|
|
|
# And build with everything
|
|
|
|
- meson -Ddrivers=all . _build
|
2018-05-31 10:18:17 +00:00
|
|
|
- ninja -C _build
|
|
|
|
- ninja -C _build install
|
|
|
|
|