summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2020-08-19 01:40:03 +0100
committerDenis Ovsienko <denis@ovsienko.info>2020-08-19 01:40:03 +0100
commit6da705c8adb561858a5f7e54844bd20ad5673f61 (patch)
tree70a707d1a88c585208e22da45c1bde3ee8458b7e
parentc29dbf9b4f1a6350aeff6be1dd75ae32c34a055d (diff)
downloadtcpdump-6da705c8adb561858a5f7e54844bd20ad5673f61.tar.gz
Cirrus CI: Align with Travis CI config more.
Define MAKEFLAGS, move comments to the end of respective lines, run "make install" and "make releasetar". [skip ci]
-rw-r--r--.cirrus.yml13
1 files changed, 7 insertions, 6 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 491cd5fb..5ae0f26a 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,7 +1,6 @@
-# The internal git client reads CIRRUS_CLONE_DEPTH.
env:
- CIRRUS_CLONE_DEPTH: 3
- MAXJOBS: 2
+ CIRRUS_CLONE_DEPTH: 3 # The internal git client reads CIRRUS_CLONE_DEPTH.
+ MAKEFLAGS: '-j 2' # The build VMs currently have two CPU cores.
IGNORE_OSVERSION: yes
task:
@@ -14,8 +13,10 @@ task:
- freebsd-version
- pkg update -f
- pkg install -qy git autoconf
- - (cd .. && git clone --depth ${CIRRUS_CLONE_DEPTH} --branch=master --quiet git://github.com/the-tcpdump-group/libpcap.git && cd libpcap && ./configure --prefix=/tmp && make -s -j${MAXJOBS})
+ - (cd .. && git clone --depth ${CIRRUS_CLONE_DEPTH} --branch=master --quiet git://github.com/the-tcpdump-group/libpcap.git && cd libpcap && ./configure --prefix=/tmp && make -s)
- touch .devel
- - ./configure
- - make -s -j${MAXJOBS} CFLAGS=-Werror all
+ - ./configure --prefix=/tmp
+ - make -s CFLAGS=-Werror all
- make check
+ - make install
+ - make releasetar