Commit Graph

27 Commits (suricata-5.0.10)

Author SHA1 Message Date
Victor Julien 7f1a8b144b github/workflows: add cargo for all Ubuntu jobs
(cherry picked from commit 7ced8de6c4)
4 years ago
Jason Ish 7ddee18307 github-ci: pin checkout action plus other fixes
Fixes to get CI to pass with updates to checkout action.
4 years ago
Jeff Lucovsky 2bc2dae9c2 github-ci: Replace CentOS 8 with AlmaLinux 8.4 4 years ago
Victor Julien 29aa7144b4 ci: remove fedora 31 build as its eol 4 years ago
Corey Thomas 7a00c686ef ci: add fedora 35 to builds
(cherry picked from commit 7be793f7b4)
4 years ago
Jason Ish 6871885068 ci: update Ubuntu 16.04 test to 20.04 with MSRV
Update the Ubuntu 16.04 test to Ubuntu 20.04 and make it clear
that it is also testing the minimum supported Rust version for 6.0.

Note: Ubuntu 16.04 is now EOL.
4 years ago
Jason Ish 22a4993042 github-ci: pin macos build to 10.15
There is currently a build failure with macos-latest (recently updated)
to 11 in the libhtp test suite code. Not sure if there are other
build issues in libhtp or Suricata at this time.

(cherry picked from commit 8b9721b265)
5 years ago
Philippe Antoine 0d9cc0af4f ci: rebase specified s-v pr
So that CI does not fail, if suricata PR got upgraded in a new
version, but S-V PR did not get upgraded, and S-V changed
in master

(cherry picked from commit 3e81d20a71)
5 years ago
Philippe Antoine e39a8fcacd ci: dummy git configuration for rebase
(cherry picked from commit 7fa3e8df61)
5 years ago
Jason Ish b5bcdcf2ba github-ci: run suricata-verify in quiet mode
Makes it easier to pick out the failing tests.
5 years ago
Jason Ish 8d516380f4 github-ci: prepare cbindgen in its own job
We already do this in master. For 5.0.x it should clear up any
issues where our MSRV isn't suitable to build cbindgen.
5 years ago
Jason Ish e56fa815ad github-ci: use suricata-update master-1.1.x branch
Suricata 5.0.x tracks the Suricata-Update 1.1.x branch.
5 years ago
Jason Ish fecbd59d62 github-ci: use python3 in debian builds
(cherry picked from commit 18a1fd22c2)
5 years ago
Jason Ish f4c5a61e1c github-ci/macos: use brew to install Python 3
The default Python on MacOS is Python 2. Suricata-Verify now
depends on Python 3, so install it with Brew.

(cherry picked from commit 7904ef82d0)
5 years ago
Jason Ish 0506eab3c7 github-ci: fix centos 8 build
The "PowerTools" repo that we need to enable has been renamed
to "powertools".
5 years ago
Jason Ish d770da7341 github-ci: use a unique id for the commit check cargo cache
All builds have been using the same cache id for ~/.cargo which
could lead us to conflict situations which is what I think we are
seeing with the commit-check job.

(cherry picked from commit 49ca070446)
5 years ago
Jason Ish 38d202645d github-ci: Master CI improvements re: Travis CI
This is a squashed commit of the following items:

github-ci: Fedora 32 builder with asan enabled

Also enables -Wshadow and rust-strict to cover those cases
from Travis.

Redmine issue:
https://redmine.openinfosecfoundation.org/issues/3868

(cherry picked from commit c91b43a3fd)

github-ci: ubuntu 20.04 build without nss/nspr

Adds a test that builds and tests Suricata without nss/nspr
to replace the similar test on Travis-CI.

Redmine issue:
https://redmine.openinfosecfoundation.org/issues/3869

(cherry picked from commit 7ea2187f91)

github-ci: Ubuntu 20.4 build with -NDEBUG

To cover Travis-CI test that builds with -NDEBUG.

Redmine issue:
https://redmine.openinfosecfoundation.org/issues/3869

(cherry picked from commit 0dc6434e61)

github-ci: enable debug on Fedora 32 build

(cherry picked from commit db0be04988)

github-ci: update debian 9 test to use known Rust version

Choose Rust 1.39.0 as a known version of Rust that we build against
to see in CI if we build with this version, but fail with latest.

This is to cover a similar test from Travis CI.

(cherry picked from commit 94ac702159)

github-ci: add test build without jansson

This is to cover a test from Travis CI where we make sure
that ./configure fails if libjansson is not available.

(cherry picked from commit a35756e140)

github-ci: apply default CFLAGS to all builds

(cherry picked from commit b3a55a4cd5)

github-ci: Fixups for parity with master

rust: add doc target to build rust docs

Uses "cargo doc --no-deps" to build the documentation just for
our Suricata package. Without --no-deps, documentation will be
build for all our dependencies as well.

The generated documentation will end up in target/doc as HTML.

(cherry picked from commit 7ca24041b6)

github-ci: CentOS 6 is EOL

(cherry picked from commit 3ea33f5e47)
5 years ago
Victor Julien 1cfa0ebc92 github-ci: CentOS 6 is EOL 5 years ago
Jeff Lucovsky 16759d27e4 github-ci: Replace deprecated add-path usage 5 years ago
Jason Ish 78946e652e github-ci: check all commits on pr
On a pull request, attempt to compile all commits from
the base branch to the head of the PR branch.

The job is in a separate workflow file to limit it to
pull-requests only, as the base branch is not available
on push (something to look into).

(cherry picked from commit d955acc01c)
6 years ago
Jeff Lucovsky 9f57dc84d9 actions: Use newer checkout action for some
Per-@jason, use action `checkout@v2` for CentOS-8, Debian 10 and Ubuntu
18.04
6 years ago
Jason Ish 57b683233d rust: Don't use --frozen during build.
If sources are vendored, we get the same effect of using frozen
with a lock file, and the Cargo.lock is generated based
on the vendored sources.

This also removes the need to ship a Cargo.lock.

Fixed out of source builds with vendored sources.
6 years ago
Jason Ish 2ff963db16 github-ci: do distcheck on fedora 31 build
There were no distchecks being done on builds from git.
6 years ago
Jason Ish 83630015b9 github-ci: make distcheck on centos 7 build
Tests distcheck on a build from a distribution archive.
6 years ago
Jason Ish b9515671be github-ci: use container for 18.04 build
As the action runs natively on 18.04 we were not explicitly
setting a container, but this means we're using what GitHub
provides us as a default state which might be broken. Instead
use the standard Ubuntu 18.04 container.
6 years ago
Jason Ish 69c00a77b5 github-ci: in a dist build, check that --frozen is being used
Verify that ./configure is picking up the vendored Rust sources
when building from a dist archive.
6 years ago
Jason Ish 3887f8d1f3 github-actions: builds for our tier one linux distributions
Example of using GitHub actions to perform builds across
CentOS, Ubuntu, Debian and the latest Fedora.
6 years ago