Commit Graph

27 Commits

Author SHA1 Message Date
Denis Ovsienko
63ea6b5d47 CI: Switch from bash to POSIX shell.
Same as in libpcap.
2021-07-05 11:59:03 +01:00
Denis Ovsienko
59ddbc3fd4 CI: Simplify some Coverity Scan props.
Same as in libpcap.
2021-07-05 11:32:03 +01:00
Denis Ovsienko
cfa6c249d2 Cirrus CI: Bump FreeBSD 13.0 up to the release. 2021-04-15 23:22:03 +01:00
Denis Ovsienko
8281c4ae6e Coverity: Use an executable POSIX shell script.
Address all shellcheck warnings.
2021-03-21 13:33:36 +00:00
Denis Ovsienko
c30c64d0cc CI: Apply more cleanups. [skip appveyor]
Lose travis-conditions in the Travis CI script. Simplify libpcap
cloning. Dissolve choose_libpcap() as it just packed two separate
single-use functions into one, also lose a temporary variable. Fixup
indentation.
2021-03-21 12:18:35 +00:00
Denis Ovsienko
75e92bef00 CI: Refine the build matrix scripts. [skip appveyor]
Reproduce the recent improvements made in tcpslice and libpcap.
2021-03-21 00:32:50 +00:00
Denis Ovsienko
8657e34a60 Cirrus CI: Relabel the tasks for consistency. 2021-03-17 03:53:06 +00:00
Nikolay Edigaryev
534916a46d .cirrus.yml: quote strings in only_if expression 2021-03-05 20:33:05 +00:00
Denis Ovsienko
4cff6de3de CI: Relax the branch filters back. [skip ci]
Address feedback from Francois-Xavier and do not limit everyday CI to
the branches that are known-good for running build_matrix.sh, only mind
to skip the coverity_scan branch. Although this arrangement is not what
an upstream repository should use, it keeps CI simple in fork
repositories that have arbitrarily named branches with a working
build_matrix.sh.

This should also restore pull requests CI if the strict filters had
affected it.
2021-03-04 21:46:26 +00:00
Denis Ovsienko
72d146cb21 CI: Switch Coverity Scan from Travis to Cirrus. [skip appveyor] 2021-03-03 02:17:00 +00:00
Denis Ovsienko
ef1ecde01e Cirrus CI: Try to speed FreeBSD 13.0 up. [skip appveyor] [skip travis]
Whatever the underlying reason, freebsd-13-0-snap used to take a couple
times more time to make it through the build than the other two image
families. After switching to the full nested matrix this started to
cause task timeouts and rescheduling. Let's see if a different
distribution of resources can improve this. Update the Linux task
comment while at it.
2021-02-11 01:20:32 +00:00
Denis Ovsienko
becccac4f5 Cirrus CI: Refine some resource allocation. [skip appveyor] [skip travis]
For FreeBSD and Linux request less memory than the default 4 GB.

Cirrus build graph claims that both FreeBSD and Linux tasks never use
more than 2 CPUs. For FreeBSD request 2 CPUs instead of 4 to enable all
three permutations run in parallel. For Linux request 4 CPUs instead of
8 to enable two concurrent tasks and split the nested matrix into two to
take advantage of that.

For macOS move and expand the comment.
2021-02-10 16:35:11 +00:00
Denis Ovsienko
e3d6a61280 Cirrus CI: Run build_matrix.sh on FreeBSD. [skip appveyor] [skip travis] 2021-02-10 16:31:40 +00:00
Denis Ovsienko
dfd08932d8 Cirrus CI: Start building AMD64 Linux. [skip appveyor] [skip travis] 2021-02-09 20:06:40 +00:00
Denis Ovsienko
cb3f6ee299 CI: Move [AMD64] macOS from Travis to Cirrus. [skip appveyor]
This change restores macOS CI, it might also unblock the stuck Travis CI
builds, as was the case with tcpslice and libpcap earlier. Let's see.

Also refine the FreeBSD tasks a bit, but do not switch them to
build_matrix.sh yet, as that combination is currently broken.
2021-02-09 18:36:58 +00:00
Denis Ovsienko
e6a2414554 Cirrus CI: Use FreeBSD 12.2 2020-12-20 13:30:33 +00:00
Denis Ovsienko
54b5db3dde Cirrus CI: Fix the FreeBSD 13 task. [skip travis] [skip appveyor]
Use FreeBSD 11.4-RELEASE and 12.1-RELEASE instead of 11.3-CURRENT and
12.1-CURRENT, this allows to drop "pkg update -f", which was a
workaround for 11.3-CURRENT (see commit 96c4db3), and which had later
broken in 13.0-CURRENT. Relates to cirruslabs/cirrus-ci-docs#695.
2020-09-03 14:51:52 +01:00
Denis Ovsienko
8cf9da35c7 Cirrus CI: Allow FreeBSD 13 task to fail.
Implement the workaround suggested in cirruslabs/cirrus-ci-docs#695.

[skip ci]
2020-08-21 18:40:57 +01:00
Denis Ovsienko
6da705c8ad 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]
2020-08-19 01:40:03 +01:00
Francois-Xavier Le Bail
6581e06817 Cirrus CI: : Set CFLAGS=-Werror with make 2020-04-07 11:07:12 +02:00
Francois-Xavier Le Bail
2c5d114baa Cirrus CI: Add the freebsd-version command 2020-03-06 12:52:20 +01:00
Francois-Xavier Le Bail
f7d6567191 Cirrus CI: Fix mismatch error with freebsd-13-0-snap
The error was like:
Newer FreeBSD version for package nagios-check_redis:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1300081
- running kernel: 1300078
2020-02-27 12:46:33 +01:00
Guy Harris
f0bd777302 Oops, one more space is needed. 2020-02-09 10:33:28 -08:00
Guy Harris
96c4db35ab Update pkg itself.
There's apparently a pkg bug in 11.x:

	https://code.wireshark.org/review/c/36055/

Updating it should fix this, so re-enable the 11.x builds.
2020-02-09 10:28:37 -08:00
Francois-Xavier Le Bail
91f1b3bf91 CI: Unset freebsd-11-3-snap build currently failed 2020-02-07 14:47:54 +01:00
Denis Ovsienko
e73fecbeb6 CI: run the tests in Cirrus as they should work
While at it, build libpcap silently and use parallel build for tcpdump.
2020-02-04 23:02:07 +00:00
Denis Ovsienko
32658d9c53 CI: Add initial FreeBSD support via Cirrus.
This first working revision runs a straightforward default compilation of
libpcap and tcpdump on three versions of FreeBSD.
2020-01-26 21:31:43 +00:00