192 Commits

Author SHA1 Message Date
Edward Thomson
fb1797de63 Merge remote-tracking branch 'origin/main' into libgit2-httpparser 2024-04-23 00:09:50 +01:00
Edward Thomson
15a8d8763e ci: make fedora a nightly build 2024-04-23 00:09:20 +01:00
Edward Thomson
dd79fbb5ab ci: give all nightly builds a unique id
The new upload-artifact action fails on conflicting names; ensure that
we give each artifact a unique name (keyed off the id).
2024-03-26 20:56:07 +00:00
Edward Thomson
9b29a5d30d ci: update nightly workflows
Update the nightly and benchmark workflows to only run steps in
libgit2/libgit2 by default. Also update the benchmark workflow to use
the latest download-artifact version.
2024-03-20 09:26:32 +00:00
Edward Thomson
9288436e38 ci: split SHA256 builds out into their own workflow
Split the SHA256 builds into their own workflow; since they're
experimental (and have proven to be flaky) they shouldn't be used as
signal that there's a problem with a PR.
2024-03-19 07:01:01 +00:00
Edward Thomson
58dfe647b7 build: update to latest actions versions 2024-03-16 18:17:16 +00:00
Edward Thomson
53978e6784 ci: reduce ASLR randomization for TSAN
Linux updated its ASLR randomization in a way that is incompatible with
TSAN. See https://github.com/google/sanitizers/issues/1716

Reducing the randomness for ASLR allows the sanitizers to cope.
2024-03-16 11:44:39 +00:00
Edward Thomson
038f078d44 ci: disable push options tests on older systems 2024-02-29 21:48:56 +00:00
Edward Thomson
1a3d6a8893 ci: allow opting out of push-options tests
The push-options online tests require push options support in the git
itself that's on the system. Allow callers with old git to opt out.
2024-02-29 21:30:09 +00:00
Edward Thomson
928ac176f4 meta: add dependency tag to release.yml 2024-02-18 00:55:54 +00:00
Sergio Correia
00eb347068 ci: add fedora container and build
So that we can test a build with llhttp instead of http-parser.

Co-authored-by: Stephen Gallagher <sgallagh@redhat.com>
Signed-off-by: Sergio Correia <scorreia@redhat.com>
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2024-02-07 17:00:49 -05:00
Edward Thomson
cef060a4f2 fuzzer: run address sanitization during fuzzing 2024-02-06 16:56:30 +00:00
Edward Thomson
a79e48addb benchmarks: publish benchmarks as a static api 2024-01-12 09:57:16 +00:00
Edward Thomson
155eb67f28 benchmarks: use upload-artifact v3 2024-01-12 09:57:16 +00:00
Edward Thomson
45c8caad1c benchmarks: update name to be "libgit2" 2024-01-12 09:57:16 +00:00
Edward Thomson
d15be592db ci: move docker container creation to an action 2024-01-10 01:45:15 +00:00
Edward Thomson
ee1d9a065a ci: actually push new build containers
When we update the build container, actually do a push. Remove the
broken build-containers.yml step and just do it in the workflow.
2024-01-10 01:45:15 +00:00
Edward Thomson
235f8e222d ci: update nightlies
There's been drift in our nightly builds vs our main builds.
Unfortunately, sharing steps remains clunky with our matrix-heavy setup.
So this remains copy-pasta.
2024-01-10 01:45:15 +00:00
Edward Thomson
e2027c006b ci: add noble to build-container matrix 2023-12-23 13:43:48 +00:00
Edward Thomson
8329f7ace3 ci: upgrade focal builds to noble
Let's use the latest & greatest for building our sanitizer / fuzzing
builds.
2023-12-21 20:46:47 +00:00
Edward Thomson
90136cd427 ci: align nightly with main
Ensure that the main builds are all identical in nightly. Nightly should
only add new, specialized builds.
2023-12-19 14:12:30 +00:00
Edward Thomson
9d8fa925f2 ci: optional BUILD_WORKSPACE
Setup scripts can change BUILD_WORKSPACE, for instance, if they use a
different format for paths, they can replace with `cygpath` variants.
2023-12-19 11:27:17 +00:00
Edward Thomson
a79ef29e6a ci: reorder some parameters for cleanliness 2023-12-19 11:27:17 +00:00
Edward Thomson
d0bb7eb7ea ci: take an optional shell parameter
Allow the build matrix to specify its shell, in case we provide one in
the setup (eg, Cygwin).
2023-12-19 11:27:17 +00:00
Edward Thomson
0b10c3fb43 ci: allow workflows to push changes
Our workflows push documentation changes; ensure that they are allowed
to do so.
2023-12-16 14:39:29 +00:00
Edward Thomson
8f3e2d26d3 ci: allow workflows to read and write packages
Our CI workflows consume and will automatically generate their build
containers. Ensure that they can do so.
2023-12-16 14:03:46 +00:00
Edward Thomson
87b1bf80f3 Merge branch 'pr/6339' into actions 2023-12-14 21:29:45 +00:00
Edward Thomson
31fd5e3657 release: add a compatibility label
Add a compatibility label to the release.yml to describe things that are for improved cross-platform compatibility.
2023-12-14 12:16:12 +00:00
Edward Thomson
e002004686 ci: use Ninja on macOS 2023-12-08 16:22:44 +00:00
Edward Thomson
38b16b01e3 ci: split ssh into exec and libssh2 2023-08-30 20:46:22 +01:00
Edward Thomson
14fa2ad703 Update macOS build image to macos-12 2023-08-25 13:12:07 +01:00
Edward Thomson
2b55e59f60 meta: update GitHub release labels 2023-07-15 15:46:06 +01:00
Edward Thomson
9b3d9c65a5 meta: update GitHub release labels 2023-07-15 15:43:51 +01:00
Edward Thomson
3a4e08a78b Merge pull request #6488 from libgit2/ethomson/workflow
actions: simplify execution with composite action
2023-05-13 13:45:19 +01:00
Edward Thomson
f68f542eb6 http: introduce schannel streams for windows
Provide a stream interface for Schannel - the native crypto APIs - on
Windows. This allows Windows to use the same HTTP transport that all the
other platforms use, with its own native crypto.

Ultimately this allows us to deprecate WinHTTP and we need not add
support for our socket changes in two places (our HTTP stack and the
WinHTTP stack).
2023-03-21 09:09:48 +00:00
Edward Thomson
7eb63188e5 reusable 2023-02-17 14:33:59 +00:00
Edward Thomson
cf754031ce nightly 2023-02-17 13:10:39 +00:00
Edward Thomson
45e95144f3 fixup! fixup! actions: simplify execution with composite action 2023-02-16 14:15:19 +00:00
Edward Thomson
14c86fc268 fixup! actions: simplify execution with composite action 2023-02-16 14:15:19 +00:00
Edward Thomson
f487b8478a actions: simplify execution with composite action 2023-02-16 14:15:19 +00:00
Edward Thomson
80742e159c Merge pull request #6456 from libgit2/ethomson/sha256_experimental
SHA256: more SHA256 support
2023-02-14 17:01:23 +00:00
Edward Thomson
f72707872b ci: actually build sha256 support on linux 2023-02-12 22:02:00 +00:00
Edward Thomson
1bde753db4 ci: run sha256 builds during our nightly runs 2023-02-12 21:26:11 +00:00
Edward Thomson
247474fdbd tests: known_hosts manipulating ssh clone tests
Teach the clone tests how to clone from github.com, when given a keypair
with a passphrase and known_hosts data. This allows us to better
exercise our known_hosts checking and ensure that the lifecycle of the
certificate callback matches our expectations.
2023-02-09 12:10:40 +00:00
Edward Thomson
d1411ed856 ci: compile against libssh2 on windows 2023-02-09 12:10:40 +00:00
Edward Thomson
7742b1c0e2 ci: upgrade test-summary action 2023-01-25 11:01:51 +00:00
Edward Thomson
8863c4458f ci: update upload-artifact dependency 2023-01-25 10:48:24 +00:00
Edward Thomson
548fc8c88b ci: always create test summaries, even on failure
When the dependent jobs fail -- possibly due to test failures -- we
should still produce the job summary that shows those test failures.
2023-01-25 10:28:54 +00:00
Edward Thomson
2d251184cc ci: update version numbers of actions 2023-01-20 21:35:15 +00:00
Edward Thomson
a3841af5ee benchmark: update path
The path to the default CLI output has changed, update it.
2022-10-18 13:11:19 +01:00