aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/ci
Commit message (Collapse)AuthorAge
* Rust coverage report (for Suricata) (#4697)Gravatar Catena cyber2021-03-08
| | | | | * Rust coverage test * Workaround to get rust coverage for Suricata
* [infra] Improve test speed (#5118)Gravatar jonathanmetzman2021-02-05
| | | | | | | | | | | Make unittests take 20 seconds to run instead of 35. Make integration tests take 50 seconds to run instead of 6 minutes. Make CI take 6 minutes instead of 12 minutes. 1. Allow running tests in parallel. Locally this takes the time for running all tests (including integration tests) from 6 minutes to ~50 seconds. We don't do parallel by default since it doesn't really save any time unless running integration tests on my machine (probably due to overhead of starting ~70 processes). This also speeds up CI from about 12 minutes to 6 minutes (since github actions has 2 cores per machine). 2. Fix how we run tests. I'm not exactly sure why, but the method we used for discovering tests, recursing through every directory and passing to unittest caused the build/infra tests to execute twice. Fixing this makes running unittests take ~20 seconds instead of ~35. This change also uses pytest for running tests since it's easy to use it to run tests in parallel. This change was made possible by #5113
* Simplify changed files logic. (#5056)Gravatar Abhishek Arya2021-01-27
|
* Fix get_changed_files in infra/ci. (#5055)Gravatar Abhishek Arya2021-01-28
| | | Fixes https://github.com/google/oss-fuzz/issues/5022
* Build modified projects as well when infra is modified. (#5019)Gravatar Abhishek Arya2021-01-20
|
* Golang project uses compile_go_fuzzer script (#4685)Gravatar Catena cyber2020-11-21
| | | | | | | | | | | | | * Golang project uses compile_go_fuzzer script * Kubernetes project uses compile_go_fuzzer script * Adds golang to ci covergae builds * fixup * Golang coverage with go modules cf coredns project
* Build base-images before building projects in CI (#4679)Gravatar jonathanmetzman2020-11-20
| | | | | | | | | | This will help us catch breaking changes to the base-images. Unfortunately caching seems to fail here when I expect it to help. For example, base-builder doesn't build from cache when I do it locally. This means that every other image I try to build doesn't use the cache. That means that base-clang would take forever to rebuild. So to compromise, I don't rebuild base-clang here. This means that this PR won't catch breaking changes to base-image or base-clang that break in base-builder. But it will catch breaking changes to base-image that break in base-runner and it will catch breaking changes to base-runner and base-builder.
* [CI] Build a canary project on infra/ changes. (#4675)Gravatar jonathanmetzman2020-11-20
| | | | | | | | [CI] Build a canary project on infra/ changes. Build a specific project, sckms, that does msan, ubsan, asan, i386 builds quickly, when infra/ code is changed. This can let us know when infra/ changes break proper functioning of OSS-Fuzz. For this to work more thoroughly we also need to rebuild images.
* [CI] Don't do coverage builds for engineless fuzzers. (#4374)Gravatar jonathanmetzman2020-08-26
| | | | | | | | | | | Coverage builds need to be special cased since they aren't specified in sanitizers. Instead they are done for all C/C++ projects that use libFuzzer. Move all of this special casing to `should_build_coverage` and call that from `should_build` so we have one place where we decide this. Add tests as well. Fixes: https://github.com/google/oss-fuzz/issues/4371
* CI fix. (#4139)Gravatar Abhishek Arya2020-07-15
|
* Skip coverage build in CI for non C/C++ projects. (#4075)Gravatar Abhishek Arya2020-07-06
| | | | | | | * Skip coverage build in CI for non C/C++ projects. Fixes https://github.com/google/oss-fuzz/issues/4074 * Test wasmtime.
* [util-linux] cover mnt_table_parse_stream (#4032)Gravatar Evgeny Vereshchagin2020-06-25
| | | | | | | | | * [util-linux] cover mnt_table_parse_stream Waiting for https://github.com/karelzak/util-linux/pull/1068 * temporarily point OSS-Fuzz to evverx/util-linux * make sure it can be built with sanitizer=coverage
* Add Github Actions CI. (#3971)Gravatar Abhishek Arya2020-06-12