Commit Graph

74 Commits

Author SHA1 Message Date
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
Edward Thomson
ad1c8e92fc Update main.yml 2020-06-07 00:26:53 +01:00
Edward Thomson
9f6e21a002 Update main.yml 2020-06-07 00:24:45 +01:00
Edward Thomson
308fc153e5 Update main.yml 2020-06-06 23:59:28 +01:00
Edward Thomson
074c7753fc Update main.yml 2020-06-06 23:49:42 +01:00
Edward Thomson
5f4b3017f3 Update main.yml 2020-06-06 23:44:51 +01:00
Edward Thomson
78ed45d552 Update main.yml 2020-06-06 23:25:25 +01:00
Edward Thomson
09d00c3e0b Update main.yml 2020-06-06 23:21:35 +01:00
Edward Thomson
92ab421328 Update main.yml 2020-06-06 23:16:52 +01:00
Edward Thomson
2e8cc08e9d Update main.yml 2020-06-06 23:15:08 +01:00
Edward Thomson
7ebb420aee Update main.yml 2020-06-06 23:06:11 +01:00
Edward Thomson
42c5d7c20e Update main.yml 2020-06-06 23:02:10 +01:00
Edward Thomson
045429f5c7 Update main.yml 2020-06-06 22:44:20 +01:00
Edward Thomson
e3683c72ca Update main.yml 2020-06-06 22:41:02 +01:00
Edward Thomson
fbb71d0cc9 Update main.yml 2020-06-06 22:32:33 +01:00
Edward Thomson
982a1def65 Update main.yml 2020-06-06 22:30:16 +01:00
Edward Thomson
7e5a1ce368 Update main.yml 2020-06-06 22:27:37 +01:00
Edward Thomson
a9e252d4dc Update main.yml 2020-06-06 22:23:19 +01:00
Edward Thomson
c199d5e80c Update main.yml 2020-06-06 22:21:53 +01:00
Edward Thomson
aaf96affa6 Update main.yml 2020-06-06 22:00:36 +01:00
Edward Thomson
d7b0e91893 Update main.yml 2020-06-06 21:58:02 +01:00
Edward Thomson
37af2a0df6 Update main.yml 2020-06-06 21:55:27 +01:00
Edward Thomson
7c518a59bb Update main.yml 2020-06-06 21:22:44 +01:00
Edward Thomson
e310a0cb77 Update main.yml 2020-06-06 21:21:33 +01:00
Edward Thomson
7f6f2790d4 Update main.yml 2020-06-06 21:20:51 +01:00
Edward Thomson
f551022200 Update main.yml 2020-06-06 21:18:42 +01:00
Edward Thomson
070633db14 Update main.yml 2020-06-06 21:17:54 +01:00
Edward Thomson
f356952bc2 Update main.yml 2020-06-06 21:01:51 +01:00
Edward Thomson
c31c10cc70 Update main.yml 2020-06-06 21:00:15 +01:00
Edward Thomson
a2c42999d5 Update main.yml 2020-06-06 20:58:19 +01:00
Edward Thomson
4eb9c0a5d0 Update main.yml 2020-06-06 20:57:51 +01:00
Edward Thomson
7861a86b2d Update main.yml 2020-06-06 20:56:01 +01:00
Edward Thomson
0943936887 Update main.yml 2020-06-06 20:53:23 +01:00
Edward Thomson
ddfeb4aa20 Update main.yml 2020-06-06 20:52:54 +01:00
Edward Thomson
2540fd08f3 Update main.yml 2020-06-06 20:52:15 +01:00
Edward Thomson
6ad4734867 Update main.yml 2020-06-06 20:50:45 +01:00
Edward Thomson
8e794b0ee6 Update main.yml 2020-06-06 20:49:30 +01:00
Edward Thomson
1849f89a4c Update main.yml 2020-06-06 20:42:15 +01:00
Edward Thomson
3454dd6462 Update main.yml 2020-06-06 20:38:56 +01:00
Edward Thomson
560ca69a78 Update main.yml 2020-06-06 17:30:48 +01:00
Edward Thomson
41e18bd418 Update main.yml 2020-06-06 17:28:06 +01:00
Edward Thomson
69b6027c17 Update main.yml 2020-06-06 17:26:58 +01:00
Edward Thomson
5a5335f40c Update main.yml 2020-06-06 17:25:52 +01:00
Edward Thomson
a1b454e0e9 Update main.yml 2020-06-06 17:24:32 +01:00