-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
33 lines (29 loc) · 677 Bytes
/
.gitlab-ci.yml
File metadata and controls
33 lines (29 loc) · 677 Bytes
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
image: fedora:latest
before_script:
- dnf update -y
- dnf install -y acl gawk which fakeroot rpm-build dpkg dpkg-dev pacman
- umask 0022
- setfacl --restore=permissions.facl
build_rpm:
stage: build
script:
- rpmbuild -ba brace.spec
artifacts:
paths:
- build/noarch/brace*.rpm
build_deb:
stage: build
script:
- dpkg-deb --root-owner-group --build brace && dpkg-name brace.deb
artifacts:
paths:
- brace*.deb
build_arch:
stage: build
script:
- awk -i inplace '!/exit \$E_ROOT/' $(which makepkg)
- awk -i inplace '!/lint_package/' $(which makepkg)
- makepkg
artifacts:
paths:
- brace*.pkg.tar.*