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
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
Edward Thomson
ec1aec36b3
ci: move to macos-11
...
GitHub has deprecated macOS 10.15; move to their new macOS 11 build
servers.
2022-09-16 10:24:35 -04:00
Edward Thomson
433a133402
Merge pull request #6191 from libgit2/ethomson/sha256_poc
...
RFC: SHA256 proof of concept
2022-07-13 21:08:04 -04:00
Edward Thomson
fb02e339fe
meta: update release.yml for security information
2022-07-13 12:27:43 -04:00
Edward Thomson
c70035dc09
actions: pass UID and GID to PR builds of dockerfiles
2022-07-06 13:10:33 -04:00
Edward Thomson
69c1fe0f56
actions: move CodeQL workflow into nightly
2022-07-06 10:47:01 -04:00
Edward Thomson
e72af290f6
actions: limit secheduled workflows to our main repo
...
Only run scheduled workflows on the main repository; prevents people
from using build minutes on their forks.
2022-07-06 10:45:27 -04:00
Edward Thomson
6013b6a0dc
ci: run sha256 builds in ci
2022-06-20 17:12:51 -04:00
Edward Thomson
3fada6695e
ci: show test results summary
2022-05-17 17:51:44 -04:00
Edward Thomson
8747c0041d
ci: upload test result data as artifacts
2022-05-17 16:27:24 -04:00
Edward Thomson
fd8d3673c8
ci: use uid/gid of actions runner
...
Avoid mismatches between the container uid/gid and the actions runner,
build the container with the actions runner's uid/gid
2022-05-17 16:24:43 -04:00
Edward Thomson
c6416100e8
ci: map the build folder in container builds
...
Now that the containers all set the user id of the libgit2 build user to
the user id of the host runner, we can write to a shared build output
volume.
2022-04-20 15:17:46 -04:00
Edward Thomson
926efbd296
ci: use the runner's uid/gid
...
Use the runner's uid/gid for the containers for sanity when sharing
files across volumes.
2022-04-20 14:45:52 -04:00
Edward Thomson
00612f7917
ci: move to ghcr.io instead of deprecated github packages urls
2022-04-19 12:09:00 -04:00
Edward Thomson
e7fce1b5e5
tests: support flaky stat
...
The 32-bit ARM QEMU builds are flaky when running `lstat`. Disable those
testing `lstat`'s `st_size` temporarily.
2022-04-06 15:15:26 -04:00
Edward Thomson
4c6eab99a7
ci: run benchmark tests nightly
2022-02-27 23:44:19 -05:00
Edward Thomson
cfdf36f989
ci: rename build setup scripts
...
Rename our build setup scripts to include the `build` name so that we
can add additional CI setup scripts with no ambiguity.
2022-02-27 23:44:19 -05:00
Edward Thomson
4c88b9d375
release.yml: use sentence case for everything
2022-02-12 21:29:43 -05:00
Edward Thomson
e3aad1dea0
meta: add a release configuration file
...
Let's let GitHub handle our release notes as much as possible:
https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
2022-02-12 10:27:12 -05:00
Edward Thomson
6d668ffdc1
ci: improve the name in CI runs
2022-01-31 08:52:52 -05:00
Edward Thomson
c940b6954a
ci: build with ssh on nightly
2021-12-23 22:46:46 -06:00
Edward Thomson
6c00fcb767
cmake: USE_SSH is not on by default
2021-11-11 15:56:10 -05:00
Edward Thomson
51f6f15d71
ci: only update docs on push
...
Only update the documentation on a `push`. We were previously updating the documentation only when not in a `pull_request`, which meant that we would push documentation updates in manual build triggers.
2021-11-09 09:03:06 -05:00
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