Commit Graph

16 Commits

Author SHA1 Message Date
Gabriel Smith
ci: Speed up docker builds for tests (#587)
The OpenSSH server docker image used for tests is pre-built to prevent
wasting time building it during a test, and unneeded rebuilds are
prevented by caching the image layers.

Gabriel Smith
2021-05-04 09:16:54 -07:00
Gabriel Smith
ci: Swap from Travis to Github Actions (#581)
Files: ci files

Move Linux CI using Github Actions

Gabriel Smith, Marc Hörsken
2021-04-30 16:10:52 -07:00
Etienne Samson
Add a LINT option to CMake (#372)
* ci: make style-checking available locally

* cmake: add a linting target

* tests: check test suite syntax with
2021-02-02 10:28:28 -08:00
Max Dymond
Add support for an OSS Fuzzer fuzzing target (#392)
.travis.yml,, ossfuzz 

This adds support for an OSS-Fuzz fuzzing target in ssh2_client_fuzzer,
which is a cut down example of ssh2.c. Future enhancements can improve

Max Dymond
2020-09-01 14:20:52 -07:00
Sebastián Katzer
mbedtls.c: ECDSA support for mbed TLS (#385)
mbedtls.c, mbedtls.h, .travis.yml

This PR adds support for ECDSA for both key exchange and host key algorithms.

The following elliptic curves are supported:

256-bit curve defined by FIPS 186-4 and SEC1
384-bit curve defined by FIPS 186-4 and SEC1
521-bit curve defined by FIPS 186-4 and SEC1

Sebastián Katzer
2020-09-01 14:18:09 -07:00
buildsystem: drop custom buildconf script, rely on autoreconf (#224)
The buildconf script is currently required, because we need to copy a
header around, because it is used both from the library and the examples

However, having a custom 'buildconf'-like script is not needed if we can
ensure that the header exists by the time it is needed. For that, we can
just append the src/ directory to the headers search path for the

And then it means we no longer need to generate the same header twice,
so we remove the second one from

Now, we can just call "autoreconf -fi" to generate the autotools files,
instead of relying on the canned sequence in "buildconf", since
autoreconf has now long known what to do at the correct moment (future
versions of autotools, automake, autopoint, autoheader etc... may
require an other ordering, or other intermediate steps, etc...).

Eventually, get rid of buildconf now it is no longer needed. In fact, we
really keep it for legacy, but have it just call autoreconf (and print a
nice user-friendly warning). Don't include it in the release tarballs,

Update doc, gitignore, and travis-CI jobs accordingly.

Signed-off-by: "Yann E. MORIN" <>
Cc: Sam Voss <>
2020-07-01 11:44:08 -07:00
Marc Hoersken
travis: use existing Makefile target to run checksrc 2020-06-22 21:24:44 +02:00
Will Cosgrove
.travis.yml: Fix Chrome and 32 bit builds (#423)
File: .travis.yml

* Fix Chrome installing by using Travis build in directive
* Update to use libgcrypt20-dev package to fix 32 bit builds based on comments found here:
2019-10-15 17:00:04 -07:00
Daniel Stenberg
style: make includes and examples code style strict
make travis and the makefile rule verify them too

Closes #334
2019-03-21 13:04:07 +01:00
Daniel Stenberg
travis: add code style check
Closes #324
2019-03-20 15:20:54 +01:00
Daniel Stenberg
travis: add a build using configure
Closes #320
2019-03-17 14:33:23 +01:00
Tony Kelman
e83bbc48ab Build mbedtls from source on Travis (#133)
* Revert "Revert "travis: Test mbedtls too""

This reverts commit c4c60eac5c.

* travis: Build mbedtls from source on Travis

Use TOOLCHAIN_OPTION when calling cmake on mbedtls

* tests: only run DSA tests for non-mbedtls

crypto backends
2016-11-12 10:41:48 +00:00
Daniel Stenberg
c4c60eac5c Revert "travis: Test mbedtls too"
This reverts commit 3e6de50a24.

Travis doesn't seem to support the mbedtls-dev package
2016-10-17 10:15:16 +02:00
3e6de50a24 travis: Test mbedtls too 2016-09-27 08:06:34 +02:00
Alexander Lamaison
cf80f2f4b5 Basic dockerised test suite.
This introduces a test suite for libssh2. It runs OpenSSH in a Docker
container because that works well on Windows (via docker-machine) as
well as Linux. Presumably it works on Mac too with docker-machine, but
I've not tested that.

Because the test suite is docker-machine aware, you can also run it
against a cloud provider, for more realistic network testing, by setting
your cloud provider as your active docker machine. The Appveyor CI setup
in this commit does that because Appveyor doesn't support docker
2016-08-14 16:03:25 +01:00
Alexander Lamaison
fed47c34e4 Add continuous integration configurations.
Linux-based CI is done by Travis CI.  Windows-based CI is done by Appveyor.
2015-03-15 00:06:15 +00:00