Add Ubuntu CI target, more csbuild targets and fix various issues related to the addition
This reworks the .gitlab-ci.yaml
to have less duplication and more readability, adding several more targets and fixing various issues identified in the process:
- Proxy commands were not terminated on disconnect causing the tests hang
- Proxy commands were running in
sh
(in Ubuntu symlinked todash
), which does not handle passing of our environmnet variables for testing (LD_PRELOAD). - Many csbuild and strict warnings from mbedtls and gcrypt backends and from Ubuntu.
- Warning about unsupported PEM export in gcrypt
- And the rest of the fix from Aris branch in https://gitlab.com/arisada/libssh-mirror/commits/fix-tests-ubuntu-tomerge