Commit Graph

119 Commits

Author SHA1 Message Date
Edward Thomson
0850b1722c Merge pull request #5950 from boretrk/posixtest
open: input validation for empty segments in path
2021-08-25 12:20:50 -04:00
Edward Thomson
314469f90a ci: run dynamically loaded openssl workflows nightly
Add Xenial, Bionic, CentOS 7 and 8 workflows with OpenSSL-Dynamic builds
nightly.
2021-08-24 16:23:46 -04:00
Edward Thomson
3b603d319e ci: tag new containers with the latest tag 2021-08-23 15:04:35 -04:00
Edward Thomson
ecdb41f911 ci: update centos to find libssh2 2021-08-21 08:18:25 -04:00
Edward Thomson
5ad53ec762 ci: update centos builds 2021-08-15 23:19:54 -04:00
Edward Thomson
1ebdb6f203 ci: update centos7 and centos8 build 2021-08-15 22:53:19 -04:00
Edward Thomson
8ea666b244 ci: run centos7 and centos8 builds nightly 2021-08-15 18:49:57 -04:00
Edward Thomson
624717774e ci: run centos7 and centos8 builds nightly 2021-08-15 17:18:04 -04:00
Edward Thomson
f01cddb140 ci: update nightly to use source path 2021-08-14 10:10:07 -04:00
Edward Thomson
631ae5a67f ci: final docs update 2021-08-10 13:34:20 -04:00
Edward Thomson
fd54db0e45 ci: build docs in source directory for consistency
All the other workflows jobs check out into the `source` directory; do this in the documentation build job as well, for consistency across jobs.
2021-08-10 13:13:10 -04:00
Edward Thomson
0e38f2b30b ci: update path during documentation generation 2021-08-10 11:28:17 -04:00
Edward Thomson
587494d093 ci: update paths during docker build 2021-08-10 10:44:17 -04:00
Edward Thomson
b140e22e2e ci: remove the docker entrypoint
Omitting an entrypoint.sh to configure the container and instead
depending on docker primitives allows us to be more portable.  (If a
distribution uses a different mechanism for adding users, we need not
have multiple entrypoint.sh files or invariants within it; instead we
can configure that in the dockerfile itself along with all the other
distribution specific components.)
2021-08-09 08:42:34 -04:00
Peter Pettersson
e96fc0283a tests: optional test for p_open() with empty path segments 2021-08-08 13:26:24 +02:00
Edward Thomson
c69852d6bc ci: enable strict allocation checking on one node 2021-07-19 16:03:36 -04:00
Edward Thomson
85af7f2169 ci: enable UBSan stacktraces 2021-03-04 09:30:21 +00:00
Edward Thomson
935f85131f CI: add workflow_dispatch event to the main build
Invert the workflow conditionals so that a workflow_dispatch event acts
like an on: push build.
2021-02-15 16:04:10 +00:00
Edward Thomson
75888f273e ci: don't use ninja on macOS
Ninja is not installed by default on the macOS machines; stop trying to
use it.  Instead use `make -j` which should be roughly equivalent in
performance but supported everywhere.
2021-01-15 12:12:07 +00:00
lhchavez
1ddffb0584 github-actions: Also rename the main branch here
This should fix the CI.
2021-01-07 06:11:24 -08:00
Dhruva Krishnamurthy
4fafe9f6a1 Add github action to build and test with mmap emulation 2020-12-30 06:55:45 -08:00
Edward Thomson
be85c7e8e5 ci: only run codeql nightly 2020-12-18 15:11:12 +00:00
Edward Thomson
7d1c5d6927 ci: run codeql 2020-12-16 10:43:07 +00:00
Edward Thomson
8f3053269e ci: run a threadsafe build in nightly 2020-12-05 22:07:49 +00:00
Edward Thomson
b8cdc9c9c5 ci: truly really absolutely run coverity 2020-11-24 09:27:41 +00:00
Edward Thomson
ab3c7ba540 ci: really truly run coverity 2020-11-24 09:20:53 +00:00
Edward Thomson
bcf11f6a94 ci: really, really correct usage for coverity 2020-11-24 08:49:38 +00:00
Edward Thomson
0553645448 ci: really correct container usage for coverity 2020-11-24 00:55:53 +00:00
Edward Thomson
78436df033 ci: correct container usage for coverity 2020-11-24 00:26:34 +00:00
Edward Thomson
d9e62bdd85 ci: move coverity into nightly builds 2020-11-23 23:41:40 +00:00
Edward Thomson
508d9359d3 ci: introduce arm nightly builds for GitHub Actions 2020-11-23 23:08:23 +00:00
Edward Thomson
5a9d16dceb ci: support multi-arch docker builds
Provide the base to our docker images and run with the QEMU docker
support optionally.
2020-11-23 23:08:23 +00:00
Edward Thomson
9aa22de684 Merge pull request #5597 from lhchavez/ci-thread-sanitizer
Add a ThreadSanitizer build
2020-11-21 22:49:26 +00:00
Edward Thomson
6d44c87a3d ci: set WIN32_LEAKCHECK instead of MSVC_CRTDBG 2020-11-21 21:54:14 +00:00
Edward Thomson
2193f32a76 ci: propagate environment variables 2020-11-20 23:24:44 +00:00
Edward Thomson
823137dcc6 ci: supply a token for self-hosted runners 2020-11-20 23:14:18 +00:00
Edward Thomson
cd6acb1d75 ci: supply a token for self-hosted runners 2020-11-20 22:48:41 +00:00
Edward Thomson
938cf14311 ci: GitHub Actions for arm64 2020-11-20 22:32:12 +00:00
Edward Thomson
3dc238c393 coverity 2020-11-18 19:30:13 +00:00
Edward Thomson
11deb143f7 ci: use GitHub Actions for nightly builds 2020-11-18 19:10:00 +00:00
Edward Thomson
3d6b90359d ci: stop using deprecated set-env in GitHub Actions
(And move the ci scripts into the `ci` directory.)
2020-11-18 18:08:23 +00:00
lhchavez
896b1db493 Add a ThreadSanitizer build
This change adds a ThreadSanitizer CI build rule. It's informative for
now because there are still known places where there are races.

Part of: #5592
2020-08-03 09:37:32 -07:00
Edward Thomson
6973c57037 sanitizer ci: skip negotiate tests
We don't build with SPNEGO enabled on our focal-based sanitizer builds,
so we need to disable the negotiate tests.
2020-08-03 11:03:19 +01:00
lhchavez
6a917c0439 Add CI support for Memory and UndefinedBehavior Sanitizers
This change adds two new build targets: MSan and UBSan. This is because
even though OSS-Fuzz is great and adds a lot of coverage, it only does
that for the fuzz targets, so the rest of the codebase is not
necessarily run with the Sanitizers ever :( So this change makes sure
that MSan/UBSan warnings don't make it into the codebase.

As part of this change, the Ubuntu focal container is introduced. It
builds mbedTLS and libssh2 as debug libraries into /usr/local and as
MSan-enabled libraries into /usr/local/msan. This latter part is needed
because MSan requires the binary and all its dependent libraries to be
built with MSan support so that memory allocations and deallocations are
tracked correctly to avoid false positives.
2020-07-09 15:13:34 -07:00
Edward Thomson
47fb33baf0 Introduce CI with GitHub Actions
Add CI using GitHub Actions and GitHub Packages:

* This moves our Linux build containers into GitHub Packages; we will
  identify the most recent commit that updated the docker descriptions,
  and then look for a docker image in libgit2's GitHub Packages registry
  for a container with the tag corresponding to that description.  If
  there is not one, we will build the container and then push it to
  GitHub Packages.

* We no longer need to manage authentication with our own credentials or
  PAT tokens.  GitHub Actions provides a GITHUB_TOKEN that can publish
  artifacts, packages and commits to our repository within a workflow
  run.

* We will use a matrix to build our various CI steps.  This allows us
  to keep configuration in a single place without multiple YAML files.
2020-06-16 09:22:58 +01:00
Edward Thomson
b221755227 Revert .github/workflows/main.yml 2020-06-07 01:02:42 +01:00
Edward Thomson
d1f3933ee7 Update main.yml 2020-06-07 00:35:19 +01:00
Edward Thomson
e51002abbf Update main.yml 2020-06-07 00:33:18 +01:00
Edward Thomson
8f48cbf718 Update main.yml 2020-06-07 00:30:39 +01:00
Edward Thomson
6bf744dced Update main.yml 2020-06-07 00:28:47 +01:00