-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuddy.yml
76 lines (71 loc) · 2.79 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
- pipeline: "Buddy"
trigger_mode: "ON_EVERY_PUSH"
ref_name: "master"
actions:
- action: "Mageia"
type: "BUILD"
docker_image_name: "library/mageia"
docker_image_tag: "latest"
execute_commands:
- export RPM_BUILD_NCPUS=2
- tar czf ../${project.name}.tar.gz * --exclude=debian --exclude=*.yml && rpmbuild -ta ../${project.name}.tar.gz
setup_commands:
- dnf install -y make gcc-c++ libusb1-devel hidapi-devel rpm-build lsb-release lib64qt5base5-devel
trigger_condition: "ALWAYS"
working_directory: "/buddy/mageia"
- action: "CentOS"
type: "BUILD"
docker_image_name: "library/centos"
docker_image_tag: "latest"
execute_commands:
- export RPM_BUILD_NCPUS=2
- tar czf ../${project.name}.tar.gz * --exclude=debian --exclude=*.yml && rpmbuild -ta ../${project.name}.tar.gz
setup_commands:
- yum install -y epel-release
- yum install -y make gcc-c++ libusb1-devel hidapi-devel rpm-build lsb-release qt5-qtbase-devel
trigger_condition: "ALWAYS"
working_directory: "/buddy/centos"
- action: "Debian"
type: "BUILD"
docker_image_name: "library/debian"
docker_image_tag: "latest"
execute_commands:
- dpkg-buildpackage -tc -us -uc -I.git -I*.sh -rfakeroot
setup_commands:
- apt update -q
- apt install -y debhelper qt5-default libqt5widgets5 libhidapi-dev libusb-1.0-0-dev fakeroot pkg-config
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=debian --exclude=*.yml && rpmbuild -ta ../${project.name}.tar.gz
setup_commands:
- dnf install -y make gcc-c++ libusb1-devel hidapi-devel rpm-build redhat-lsb qt5-qtbase-devel
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=debian --exclude=*.yml && rpmbuild -ta ../${project.name}.tar.gz
setup_commands:
- zypper install -y make gcc-c++ libusb-1_0-devel libhidapi-devel rpm-build lsb-release libqt5-qtbase-devel
trigger_condition: "ALWAYS"
working_directory: "/buddy/opensuse"
- action: "Ubuntu"
type: "BUILD"
docker_image_name: "library/ubuntu"
docker_image_tag: "latest"
execute_commands:
- dpkg-buildpackage -tc -us -uc -I.git -I*.sh -rfakeroot
setup_commands:
- apt update -q
- apt install -y debhelper qt5-default libqt5widgets5 libhidapi-dev libusb-1.0-0-dev fakeroot pkg-config
trigger_condition: "ALWAYS"
working_directory: "/buddy/ubuntu"