Victor Julien
533c6ff274
github: work around rustc mingw issue
...
https://github.com/msys2/MINGW-packages/issues/8732#issuecomment-845079799
4 years ago
Jason Ish
def636383e
github-ci: enable hiredis on fedora 33 build
4 years ago
Simon Dugas
f629321de0
ci: update known rust version
...
Update RUST_VERSION_KNOWN to the latest stable known to succeed. Also
updates the documentation to avoid confusion around the use of this
variable.
4 years ago
Shivani Bhardwaj
0c5a8fb35d
github: Update codeowner handle
4 years ago
Eric Leblond
23b1607d69
github-ci: add ebpf build
...
Use Debian 10 to build eBPF.
4 years ago
Victor Julien
ae29804a28
github-ci: add libnet to ubuntu-20-04-cov-sv builder
4 years ago
Jason Ish
93ce39d450
github-ci: test install of library
...
Add library install test to Fedora 33 build. In this case the
shared library is disable so the test makes sure it is not
installed.
Also make sure the library and headers are not installed until
explicitly installed.
Add similar to test to an Ubuntu 24.04 build without disable-shared
and check that the shared library is installed.
4 years ago
Jason Ish
325096a07f
github-ci: add -fsanitize=address to LDFLAGS for asan builds
...
With fPIC, -fsanitize-address also needs to be added to LDFLAGS
to build with ASAN support.
Also fix what looks to be a copy and paste typo.
4 years ago
Jason Ish
82ecf64fe6
github-ci: run suricata-verify on centos-7 build
4 years ago
Victor Julien
3ce05a3583
fuzz: run OSS-Fuzz corpus and track coverage
4 years ago
Victor Julien
f2e9517434
github: run codecov verify test w/o optimizations
4 years ago
Victor Julien
711cfe5657
github: codecov fix path handling
4 years ago
Victor Julien
5303901790
github: add codecov.yml
...
Don't report until both cov runs are available to avoid partial
reporting in pull request comments.
4 years ago
Victor Julien
f0f578444e
ci: initial codecov integration
4 years ago
Jason Ish
4e57b5e665
github-ci: don't install libnss/libnspr packages
4 years ago
Jason Ish
18a1fd22c2
github-ci: use python3 in debian builds
4 years ago
Jason Ish
7904ef82d0
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.
4 years ago
Jason Ish
37eff69a37
github-ci: update min Rust version from 1.34.2 to 1.41.1
4 years ago
Victor Julien
372fc26739
ci: buildbot is decommissioned, so remove prscript refs
4 years ago
Jason Ish
49ca070446
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.
4 years ago
Jason Ish
f09536a936
github-ci: fix centos 8 build
...
The "PowerTools" repo that we need to enable has been renamed
to "powertools".
4 years ago
Jason Ish
858ab07775
github-ci: add sccache to per-commit check
...
Also use the pre-build cbindgen binary.
Hopefully speeds up the build process.
4 years ago
Jason Ish
1f1a765132
github-ci: build cbindgen during prep
...
Instead of building cbindgen in every build, build it once
during prep as a static musl binary to avoid library issues.
4 years ago
Jason Ish
f945acf733
github-ci: remove prep directories before upload
...
Removing the libhtp, suricata-update and suricata-verify directories
before uploading the artifact reduces the upload time from minutes
to seconds.
4 years ago
Jason Ish
42196e932e
github-ci: fedora 33 test build (based on fedora 32)
4 years ago
Jason Ish
ea36c01a8f
github-ci: remove fedora 31 (eol)
4 years ago
Victor Julien
3ea33f5e47
github-ci: CentOS 6 is EOL
4 years ago
Jason Ish
bb7f80ef6c
github-ci: check for duplicate SIDs in rules/
4 years ago
Victor Julien
75c0f9bd0a
github-ci: windows in builds
4 years ago
Philippe Antoine
dfadd03b6f
ci: updates github ci add-path mechanism
4 years ago
Victor Julien
a9249cb2f6
github-ci: fix debian 10 test using rustup
4 years ago
Philippe Antoine
f29982c03c
ci: adds cifuzz workflow
4 years ago
Jeff Lucovsky
d2c8c9f58e
github-ci: Improve body parsing
...
This commit improves handling of the PR body parsing to eliminate
unneeded characters.
4 years ago
Jason Ish
2ede736116
github-ci: remove deprecated set-env and add-path
...
Use the new methods for setting an environment variable and
updating the PATH.
4 years ago
Victor Julien
606750f2a0
github-ci: add windows build with suricata-verify
...
Initial attempt with a few hacks:
- npcap dlls are extracted from the installer and placed in cwd
- cbindgen is installed system wide desipte a preinstalled copy
This does not yet hook into the "prep" build from build.yaml or
support using custom support PRs/branches (SV, SU).
4 years ago
Jason Ish
8b38db4a50
github-ci: apply default CFLAGS to all builds
5 years ago
Jason Ish
280ab65705
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.
5 years ago
Jason Ish
cb963f8682
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.
5 years ago
Jason Ish
b698f66c27
github-ci: enable debug on Fedora 32 build
5 years ago
Jason Ish
146a1ee1d7
github-ci: check that configure fails if rust to old
...
Migration of similar test from Travis-CI.
Redmine issue:
https://redmine.openinfosecfoundation.org/issues/3869
5 years ago
Jason Ish
975b58c050
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
5 years ago
Jason Ish
dfbd38e809
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
5 years ago
Jason Ish
1ec6307d9d
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
5 years ago
Jason Ish
3a3a9e135a
github-ci: fix building against request libhtp/sv PR
...
The variable name was wrong, causing the libhtp-pr and sv-pr
parameters in the commit message to not be applied.
5 years ago
Roland Fischer
9f1e49e863
ci: Run formatting check on pull request
5 years ago
Jason Ish
0de0c60c88
github-ci: add autoreconf to centos-7 build
...
The prepared distribution packages are failing autoreconf
due to a missing acsite.m4. Add autoreconf to the centos-7
build which uses the prepared package to test for this
issue.
5 years ago
Shivani Bhardwaj
0ae63e85ed
gh-checks: Add enable-debug-validation to test
5 years ago
Jason Ish
5d0d630237
github-ci: build rust doc on stable and 1.34.2
...
Nothing is done with the rustdoc, its just build to make
sure it builds with our supported versions of Rust
5 years ago
Jason Ish
7d22993a8f
github-ci: allow pull-request to be referenced in pr body
...
For example, to use suricata-verify pr #239 :
suricata-verify-pr: 239
Also update the pull request template to contain the available
parameters that can be set.
5 years ago
Jason Ish
ced6656317
github actions: extract repo/branch names from PR message
...
Create a "prep" build that parses libhtp, suricata-update and
suricata-verify repo and branch information from the pull
request message and turn these into artifacts that are
used by the builders
Examples:
libhtp-repo: https://github.com/OISF/libhtp
libhtp-branch: 0.5.x
suricata-verify-repo: http://github.com/OISF/suricata-verify
suricata-verify-branch: master
suricata-update-repo: http://github.com/OISF/suricata-update
suricata-update-branch: master
Other changes:
- checkout@v2 (faster)
- working directory cleanup
5 years ago