Commit Graph

282 Commits (28dff4e157d228e48512ff2f97ea81b7b2eef455)

Author SHA1 Message Date
Lukas Sismis 28dff4e157 github-ci: build-test DPDK v23.11.x and v24.11.x
Ticket: 6522
(cherry picked from commit 7ca95eeec0)
3 months ago
Lukas Sismis 05741a32be github-ci: bump up tested DPDK versions
Ubuntu 20.04, supported distro for 7.0.x, still contains
DPDK 19.11 in the pkg repository, so it keeps being build-tested as
opposed to the 9.0.x version.

(cherry picked from commit ee0b08692c)
3 months ago
Shivani Bhardwaj 0223db3ddf workflows: use main-7.0.x branch 4 months ago
Jason Ish 9d56e7c3a6 github-ci: pass CARGO and RUSTC to S-V
S-V needs cargo to build the EVE validator.

(cherry picked from commit 0662736167)
4 months ago
Jason Ish 7f49479e9f rust: respect RUSTC and CARGO env vars like CC
To support alternative cargo and rustc programs (such as cargo-1.82),
respect CARGO and RUSTC environment variables during ./configure much
like CC.

RUSTFMT is also respected as that is required for the tests, and Cargo
can't figure this out like it can for rustc (perhaps a bug in the
packaging).

For cbindgen, we have also have to make sure the cargo environment
variable is set for each invocation.

To build with Ubuntu's Rust 1.82 packaging:

  CARGO=cargo-1.82 RUSTC=rustc-1.82 RUSTDOC=rustdoc-1.82 \
      ./configure

Note that setting RUSTDOC is only required for commands like "make
check" to pass.

Ticket: #7877
(cherry picked from commit 6d74656bef)
4 months ago
Philippe Antoine cb452434fc ci: do not run undefined for clusterfuzzlite
as it takes too long to build

(cherry picked from commit 6d52bcbcb1)
4 months ago
Jason Ish dffa3540c4 github-ci: add non-bundled libhtp build
Ticket: #6804
4 months ago
Victor Julien c8198f4af9 github-ci: add Debian 13 job with xdp and vectorscan
(cherry picked from commit f910e3045f)
5 months ago
Jason Ish 126994b6d2 github-ci: add flto build
Ubuntu and Fedora packing system build with -flto=auto by default, so
update one test to use -flto=auto. Also build with -O2 as that
combination can cause issues such as
https://redmine.openinfosecfoundation.org/issues/7824.

Also adds vectorscan to the build.

(cherry picked from commit bb846de074)
5 months ago
Philippe Antoine a3bf82b4c7 ci: use debian 12 for xdp
As bullseye is EOL so it is being removed from the mirrors

https://lists.debian.org/debian-backports/2024/07/msg00003.html

[Edit by JI: Add xdp to distcheck build as well.]

(cherry picked from commit 6bbba953df)
5 months ago
Jason Ish 5ec85bc328 github-ci/builds: don't run if only doc changes
A new workflow, "docs" has been created for only doc changes.

Factor out prepare-deps into a reusable action.

(cherry picked from commit a0cb7b21f4)
5 months ago
Jason Ish 290b230058 github-ci: remove debian:10 build, it is EOL
(cherry picked from commit 2e69e0d5c1)
6 months ago
Jason Ish cc5511c094 github-ci: use current directory for unit test logging
/tmp appears to exist when you make it, but doesn't appear to actually
exist after msys translation, so just use "."

(cherry picked from commit 11cef2980b)
8 months ago
Jason Ish 4a9d081490 github-ci: don't run builds on PR if only docs changed
(cherry picked from commit 3658d502ff)
10 months ago
Jason Ish cd5a961b36 github-ci: update Fedora non-root build to Fedora 41
(cherry picked from commit 65b863b087)
10 months ago
Jason Ish 8674befdc7 github-ci: remove fedora 40 builds where 41 exists
Remove Fedora 40 builds where there is a Fedora 41 equivalent.

(cherry picked from commit 70d5bae160)
10 months ago
Victor Julien 7816a51f98 github-ci: update Fedora 39 jobs to 41
(cherry picked from commit c56b741088)
10 months ago
Victor Julien 9d89bbd2dd github-ci: bump known rust ver to 1.85.1 10 months ago
Jason Ish 0bc09ea2a3 github-ci: update actions/cache (deprecated)
It appears dependabot is a little behind on updating actions/cache.
11 months ago
Jason Ish 8810d7f190 github-ci: don't install cbindgen on centos stream 9
Not needed as this is a build from make dist, and providing cbindgen
will force regeneration of the bindings.
1 year ago
Jason Ish a60017a56e github-ci: pin actions/upload-artifact to newer version
Required for the newer version of download-artifact in use due to sync
with master.
1 year ago
Jason Ish 54e629f93c github-ci: sync almalinux builds with master 1 year ago
Jason Ish 441239b9e5 github-ci: pin missed actions/checkout
Pin actions missed as part of the sync with master as they most likely
don't exist in master.
1 year ago
Jason Ish d66c5ce7d8 github-ci: pin missed actions/cache
In job: ubuntu-22-04-cov-fuzz
1 year ago
Jason Ish cde3edf0f1 github-ci: add ubuntu 24.04 cocci build
As cocci was removed from the Fedora builds due to issues in Cocci on
Fedora.
1 year ago
Jason Ish b5a109bb9d github-ci: remove Fedora 38, add Fedora 40
Sync with master on Fedora builds.
1 year ago
Jason Ish 7198c0516c github-ci: sync with master branch
Mainly hashes of actions and other minor changes.
1 year ago
Victor Julien 04929d875e github-action: share cargo registry cache
(cherry picked from commit 97d525d18d)
1 year ago
Victor Julien f4d066f681 github-action: share cargo cache for windows jobs
Modification by Jason Ish: Keep removal of duplicate checkout action
while resolving conflict.

(cherry picked from commit d574d88bca)
1 year ago
Jason Ish b83d336d7d github-ci: install prepared cbindgen on rpm distros
Currently cbindgen from system packages is broken, for now use the
cbindgen artifact we build.

(cherry picked from commit 09d604f7c3)
1 year ago
Jason Ish 5c26f2afa5 github-ci: break out cbindgen installation to action
(cherry picked from commit a5e13d0dee)
1 year ago
Jason Ish 9dd3994bdf github-ci: run macos python jobs in virtualenv
With the latest brew changes, a virtualenv is required to install
pyyaml.

(cherry picked from commit 2b16369071)
1 year ago
Philippe Antoine 6a8d29c69e ci: mov from cifuzz to clusterfuzzlite
To better support main7 CI fuzzing

Ticket: 7253
(cherry picked from commit b3bd57246f)
1 year ago
Victor Julien 27deff0790 github-actions: remove build for EOL centos:7 2 years ago
Lukas Sismis 2101573c14 github-ci: add minimal build for Ubuntu and AlmaLinux
(cherry picked from commit cd7c35eb5a)
2 years ago
Lukas Sismis 8216b5b229 github-ci: remove gosu from installed packages
(cherry picked from commit 6d663ec885)
2 years ago
Victor Julien 9dc9fbee0b github-actions: bump scan-build to Ubuntu 24.04 / clang 18
(cherry picked from commit e0411878fc)
2 years ago
Victor Julien b6520aaf80 github-action: remove end of life CentOS 8 stream
(cherry picked from commit 130d75f025)
2 years ago
Philippe Antoine 7d26045cd9 ci: fix macos build
use brew instead of pip
limit the number of jobs for make
set a prefix where we can install
use brew flags for library finding

(cherry picked from commit 47a1502dbb)
2 years ago
Jason Ish 358062b1a2 github-ci/formatting: update to Ubuntu 22.04
Update the formatting CI job to Ubuntu 22.04 to get a newer version of
clang-format, in this case clang-format-14.

(cherry picked from commit 93071501b5)
2 years ago
Philippe Antoine 5267479134 ci: clean some disk space to run CIFuzz again
(cherry picked from commit 365a66ac1c)
2 years ago
Victor Julien 58c61f1fe4 rust: add MSRV as rust-version
Update github-actions to use it for the MSRV check.
2 years ago
Philippe Antoine d4acd0fb44 ci: update ubuntu22.04 builds with clang14+asan
using a workround about ASLR

(cherry picked from commit 632e52ca2b)
2 years ago
Philippe Antoine a0254bfa03 ci: authors check using OISF repo
As flagged critical by codescan

(cherry picked from commit 7f5e98e6df)
2 years ago
Victor Julien ba3f1f8c6f github/action: fix Debian 12 intermittent failures
Parallel builds caused issues during `cargo vendor`. So do just a single
thread build.

 make[4]: Entering directory '/__w/suricata/suricata/rust'
cbindgen --config /__w/suricata/suricata/rust/cbindgen.toml \
	--quiet --output /__w/suricata/suricata/rust/dist/rust-bindings.h
CARGO_HOME="/github/home/.cargo"  /usr/bin/cargo vendor
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
ERROR: Couldn't execute `cargo metadata` with manifest "/__w/suricata/suricata/rust/Cargo.toml": Metadata(Output { status: ExitStatus(unix_wait_status(25856)), stdout: "", stderr: "    Blocking waiting for file lock on package cache\n    Blocking waiting for file lock on package cache\nerror: failed to download `adler v1.0.2`\n\nCaused by:\n  unable to get packages from source\n\nCaused by:\n  failed to parse manifest at `/github/home/.cargo/registry/src/github.com-1ecc6299db9ec823/adler-1.0.2/Cargo.toml`\n\nCaused by:\n  no targets specified in the manifest\n  either src/lib.rs, src/main.rs, a [lib] section, or [[bin]] section must be present\n" })
ERROR: Couldn't generate bindings for /__w/suricata/suricata/rust.
make[4]: *** [Makefile:597: dist/rust-bindings.h] Error 1
make[4]: *** Waiting for unfinished jobs....

(cherry picked from commit c82d93490c)
2 years ago
Victor Julien 6ee698c5fa github-ci: add cherry-pick line check 2 years ago
Victor Julien 741ba51c1e github-ci: Fedora 37 to 39; use packaged cbindgen 2 years ago
Juliana Fajardini a9851430e2 github: improve template CLA request info
Indicate that the CLA only has to be signed once, as we have had
contributors think that was required for each new PR.
2 years ago
Lukas Sismis c53086575a dpdk: update DPDK builder versions 2 years ago
Jeff Lucovsky e65c052414 build/nss: Remove libnss from CI 2 years ago