Commit 979c3dd4 authored by Alberto Mardegan's avatar Alberto Mardegan

CI: don't run before_script for UT jobs

parent 2c65d003
......@@ -19,7 +19,7 @@ stages:
- build
- test
before_script:
.desktop_dependencies: &desktop_dependencies
- export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
- PACKAGES+=libexpat1-dev # for libdbus
- PACKAGES+=" libjpeg8-dev libpng12-dev libtiff5-dev zlib1g-dev" # for OpenCV
......@@ -58,6 +58,8 @@ build_dependencies:
artifacts:
paths:
- staging
before_script:
- *desktop_dependencies
script:
- DBUS_DIR="$PWD/dbus"
- OPENCV_DIR="$PWD/opencv"
......@@ -174,6 +176,8 @@ build_dependencies:
build_desktop:
stage: build
before_script:
- *desktop_dependencies
script:
- STAGING="$PWD/staging"
- export PKG_CONFIG_PATH="$STAGING/lib/pkgconfig:$PKG_CONFIG_PATH"
......@@ -189,6 +193,8 @@ build_desktop:
test_desktop:
stage: test
before_script:
- *desktop_dependencies
script:
- LCOV_DIR="$PWD/lcov"
- 'if [ ! -x "$LCOV_DIR/bin/geninfo" ]; then'
......@@ -217,6 +223,8 @@ appimage:
artifacts:
paths:
- appimage/
before_script:
- *desktop_dependencies
script:
- SRCDIR="$PWD"
- STAGING="$PWD/staging"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment