-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuddy.yml
95 lines (90 loc) · 4.68 KB
/
buddy.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
- pipeline: "Buddy"
trigger_mode: "ON_EVERY_PUSH"
ref_name: "master"
actions:
- action: "Mageia"
type: "BUILD"
docker_image_name: "library/mageia"
docker_image_tag: "latest"
cached_dirs:
- "/cache-mageia"
execute_commands:
- if [ ! -d cache-mageia ]; then mkdir cache-mageia; fi
- cd cache-mageia
- ../.ci/git-install.sh https://github.com/DCMTK/dcmtk.git DCMTK-3.6.3 "-DCMAKE_INSTALL_PREFIX=/usr -DDCMTK_WITH_OPENSSL=OFF -DDCMTK_WITH_WRAP=OFF -DDCMTK_WITH_ICU=OFF -DDCMTK_WITH_ICONV=OFF"
- cd ..
- export RPM_BUILD_NCPUS=2
- tar czf ../${project.name}.tar.gz --exclude=cache* --exclude=debian --exclude=*.yml * && rpmbuild -ta ../${project.name}.tar.gz
setup_commands:
- urpmi --auto-update --auto
- urpmi -a --auto -y lsb-release rpm-build git make cmake gcc-c++ qttools5 lib64v4l-devel lib64avc1394-devel lib64mediainfo-devel lib64qt5-gstreamer-devel lib64boost-devel lib64gstreamer1.0-devel lib64gstreamer-plugins-base1.0-devel lib64qt5base5-devel lib64qt5x11extras-devel
trigger_condition: "ALWAYS"
working_directory: "/buddy/mageia"
- action: "CentOS"
type: "BUILD"
docker_image_name: "library/centos"
docker_image_tag: "latest"
cached_dirs:
- "/cache-centos"
execute_commands:
- if [ ! -d cache-centos ]; then mkdir cache-centos; fi
- cd cache-centos
- ../.ci/git-install.sh git://anongit.freedesktop.org/gstreamer/qt-gstreamer master "-DCMAKE_INSTALL_PREFIX=/usr -DQT_VERSION=5"
- ../.ci/git-install.sh https://github.com/DCMTK/dcmtk.git DCMTK-3.6.3 "-DCMAKE_INSTALL_PREFIX=/usr -DDCMTK_WITH_OPENSSL=OFF -DDCMTK_WITH_WRAP=OFF -DDCMTK_WITH_ICU=OFF -DDCMTK_WITH_ICONV=OFF"
- cd ..
- export RPM_BUILD_NCPUS=2
- tar czf ../${project.name}.tar.gz --exclude=cache* --exclude=debian --exclude=*.yml * && rpmbuild -ta ../${project.name}.tar.gz
setup_commands:
- yum install -y epel-release
- yum update -y
- yum install -y redhat-lsb rpm-build git make cmake gcc-c++ boost-devel gstreamer1-plugins-base-devel qt5-qtdeclarative-devel gstreamer1-devel libv4l-devel qt5-qtbase-devel qt5-linguist qt5-qtx11extras-devel libavc1394-devel libmediainfo-devel openssl-devel
trigger_condition: "ALWAYS"
working_directory: "/buddy/centos"
- action: "Debian"
type: "BUILD"
docker_image_name: "library/debian"
docker_image_tag: "latest"
execute_commands:
- lrelease *.ts
- cp docs/* debian/
- dpkg-buildpackage -us -uc -tc -Icache* -I*.yml -rfakeroot
setup_commands:
- apt update -q
- apt install -y lsb-release debhelper fakeroot libdcmtk2-dev libboost-dev libmediainfo-dev libwrap0-dev libqt5opengl5-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libqt5gstreamer-dev libavc1394-dev libraw1394-dev libv4l-dev qttools5-dev-tools qt5-default libqt5x11extras5-dev
trigger_condition: "ALWAYS"
working_directory: "/buddy/debian"
- action: "Fedora"
type: "BUILD"
docker_image_name: "library/fedora"
docker_image_tag: "latest"
execute_commands:
- export RPM_BUILD_NCPUS=2
- tar czf ../${project.name}.tar.gz --exclude=cache* --exclude=debian --exclude=*.yml * && rpmbuild -ta ../${project.name}.tar.gz
setup_commands:
- dnf install -y redhat-lsb rpm-build make gstreamer1-devel libv4l-devel qt5-qtbase-devel qt5-gstreamer-devel qt5-linguist qt5-qtx11extras-devel libavc1394-devel libmediainfo-devel dcmtk-devel openssl-devel gcc-c++
trigger_condition: "ALWAYS"
working_directory: "/buddy/fedora"
- action: "openSUSE"
type: "BUILD"
docker_image_name: "library/opensuse"
docker_image_tag: "latest"
execute_commands:
- export RPM_BUILD_NCPUS=2
- tar czf ../${project.name}.tar.gz --exclude=cache* --exclude=debian --exclude=*.yml * && rpmbuild -ta ../${project.name}.tar.gz
setup_commands:
- zypper install -y lsb-release rpm-build make libqt5-linguist libqt5-qtbase-devel gstreamer-plugins-qt5-devel dcmtk-devel libmediainfo-devel libqt5-qtx11extras-devel openssl-devel libavc1394-devel libv4l-devel
trigger_condition: "ALWAYS"
working_directory: "/buddy/opensuse"
- action: "Ubuntu"
type: "BUILD"
docker_image_name: "library/ubuntu"
docker_image_tag: "latest"
execute_commands:
- lrelease *.ts
- cp docs/* debian/
- dpkg-buildpackage -us -uc -tc -Icache* -I*.yml -rfakeroot
setup_commands:
- apt update -q
- apt install -y lsb-release debhelper fakeroot libdcmtk2-dev libboost-dev libmediainfo-dev libwrap0-dev libqt5opengl5-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libqt5gstreamer-dev libavc1394-dev libraw1394-dev libv4l-dev qttools5-dev-tools qt5-default libqt5x11extras5-dev
trigger_condition: "ALWAYS"
working_directory: "/buddy/ubuntu"