CI: add job with external tests

Update gost-engine submodule.
Update pyca-cryptography submodule.

Fix condition for skipping krb5 test.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/14416)
This commit is contained in:
Tomas Mraz 2021-03-03 18:26:22 +01:00
parent c3a85d3d17
commit 996d2693e2
5 changed files with 22 additions and 3 deletions

View File

@ -166,3 +166,19 @@ jobs:
- name: make install
run: make install
working-directory: ./build
external-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: package installs
run: |
sudo apt-get update
sudo apt-get -yq install bison dejagnu gettext keyutils ldap-utils libldap2-dev libkeyutils-dev python3 python3-paste python3-pyrad slapd tcl-dev tcsh python3-virtualenv virtualenv
- name: config
run: ./config --strict-warnings --debug no-afalgeng enable-rc5 enable-md2 enable-ssl3 enable-ssl3-method enable-weak-ssl-ciphers enable-zlib enable-ec_nistp_64_gcc_128 enable-external-tests && perl configdata.pm --dump
- name: make
run: make -s -j4
- name: make test
run: BORING_RUNNER_DIR=$(pwd)/boringssl/ssl/test/runner make test TESTS="test_external*"

@ -1 +1 @@
Subproject commit b008f2a0ffa1797943c3d08c3b3eee31229a56d3
Subproject commit 28a0a193549a9b778a14fade0219b9daa0e7c5db

@ -1 +1 @@
Subproject commit 09403100de2f6f1cdd0d484dcb8e620f1c335c8f
Subproject commit e09cd90f77a31832bdde1d3652c115be282cced9

View File

@ -10,6 +10,9 @@
#ifndef OSSL_TEST_SHIM_INCLUDE_OPENSSL_BASE_H
#define OSSL_TEST_SHIM_INCLUDE_OPENSSL_BASE_H
/* Needed for DH functions */
#include "internal/deprecated.h"
/* Needed for BORINGSSL_MAKE_DELETER */
# include <openssl/bio.h>
# include <openssl/evp.h>

View File

@ -17,7 +17,7 @@ setup("test_external_krb5");
plan skip_all => "No external tests in this configuration"
if disabled("external-tests");
plan skip_all => "krb5 not available"
if ! -f srctop_file("krb5", "data.txt");
if ! -f srctop_file("krb5", "src", "configure.in");
plan tests => 1;