forked from notqmail/notqmail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cirrus.yml
37 lines (35 loc) · 1.14 KB
/
.cirrus.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
task:
name: FreeBSD
freebsd_instance:
matrix:
image: freebsd-12-1-release-amd64
# image: freebsd-11-2-release-amd64
image: freebsd-10-4-release-amd64
env:
matrix:
- MAKE_FLAGS: -j 2
- MAKE_FLAGS: "-j 2 NROFF=true"
pkginstall_script:
- pkg install -y groff pkgconf check
configure_script:
- echo "clang -O2 -Wall -Wshadow -Werror=implicit-function-declaration" > conf-cc
compile_script:
- make ${MAKE_FLAGS} it man
test_script:
- make ${MAKE_FLAGS} test
install_script:
- env DESTDIR=/tmp/qmail make package
- make package
- pw groupadd -g 200 -n nofiles
- pw groupadd -g 201 -n qmail
- pw useradd -u 200 -g nofiles -d /var/qmail/alias -n alias
- pw useradd -u 201 -g nofiles -d /var/qmail -n qmaild
- pw useradd -u 202 -g nofiles -d /var/qmail -n qmaill
- pw useradd -u 203 -g nofiles -d /var/qmail -n qmailp
- pw useradd -u 204 -g qmail -d /var/qmail -n qmailq
- pw useradd -u 205 -g qmail -d /var/qmail -n qmailr
- pw useradd -u 206 -g qmail -d /var/qmail -n qmails
- ./instchown
- make check
- rm -rf /var/qmail
- make setup check