-
Notifications
You must be signed in to change notification settings - Fork 9
/
.gitlab-ci.yml
55 lines (42 loc) · 1.17 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
variables:
GIT_SUBMODULE_STRATEGY: recursive
#image: gcc
image: ubuntu:18.04
# cache:
# paths:
# - apt-cache/
stages:
- build
before_script:
- apt-get update -qq
- apt-get -qq -y install lsb
- apt-get -qq -y install qtbase5-dev qtdeclarative5-dev libqt5webkit5-dev qt5-default qttools5-dev-tools qtmultimedia5-dev libqt5opengl5-dev libqt5svg5-dev libfftw3-dev libpulse-dev libasound2-dev
- apt-get -qq -y install g++
- apt-get -qq -y install git cmake cvs libtool
- apt-get -qq -y install libfftw3-dev libsndfile1-dev libpulse-dev
# - lsb_release -a
- uname -a
- cmake --version
build:
stage: build
script:
- pwd
- git status
- qmake "CONFIG+=file_sdif file_sdif_static" dfasma.pro;
- make
- cd distrib; bash package_getversion.sh; cd ..
- cd distrib
- bash package_deb.sh ../dfasma
- echo $(bash package_getname.sh ../dfasma)
- export PKGNAME=$(bash package_getname.sh ../dfasma).deb
- echo $PKGNAME
- cp $PKGNAME ..
- cd ..
- echo $PWD
- ls -l $PWD
artifacts:
name: "dfasma-${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHA}-git1ubuntu18"
paths:
- dfasma_*.deb
# only:
# - tags