summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2019-09-13 09:24:53 +0200
committerBernd Edlinger <bernd.edlinger@hotmail.de>2020-02-11 13:22:39 +0100
commitd819760d3da5dd5491c94a2d6b36553708c9338b (patch)
tree178bfd5ca2f6ae1eb3b31526f990323a3c1359d9
parenta076951b71a1837e68eaf6bfd92e6a4d40b0940a (diff)
downloadopenssl-new-d819760d3da5dd5491c94a2d6b36553708c9338b.tar.gz
Add a minimal build target for Travis and Appveyor
[extended tests] Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9982)
-rw-r--r--.travis.yml11
-rw-r--r--appveyor.yml3
2 files changed, 12 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index b244383d2f..188a82d246 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -69,7 +69,7 @@ matrix:
env: CONFIG_OPTS="--strict-warnings -D__NO_STRING_INLINES"
- os: linux
compiler: gcc
- env: CONFIG_OPTS="--strict-warnings" COMMENT="Move to the BORINGTEST build when interoperable"
+ env: CONFIG_OPTS="--strict-warnings no-ec enable-trace enable-ssl-trace enable-zlib enable-zlib-dynamic enable-crypto-mdebug enable-crypto-mdebug-backtrace enable-egd" COMMENT="Move to the BORINGTEST build when interoperable"
- os: linux
dist: trusty
compiler: clang
@@ -146,6 +146,9 @@ matrix:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
script: true
+ - os: linux
+ compiler: gcc
+ env: CONFIGURE_TARGET="linux-generic32" CONFIG_OPTS="--strict-warnings no-shared no-dso no-pic no-aria no-async no-autoload-config no-blake2 no-bf no-camellia no-cast no-chacha no-cmac no-cms no-cmp no-comp no-ct no-des no-dgram no-dh no-dsa no-dtls no-ec2m no-engine no-filenames no-gost no-idea no-ktls no-mdc2 no-md4 no-multiblock no-nextprotoneg no-ocsp no-ocb no-poly1305 no-psk no-rc2 no-rc4 no-rmd160 no-seed no-siphash no-siv no-sm2 no-sm3 no-sm4 no-srp no-srtp no-ssl3 no-ssl3-method no-ts no-ui-console no-whirlpool no-asm -DOPENSSL_NO_SECURE_MEMORY -DOPENSSL_SMALL_FOOTPRINT"
exclude:
- os: linux
compiler: clang
@@ -188,7 +191,11 @@ before_script:
if which ccache >/dev/null && test "$BORINGSSL_TESTS" != yes; then
CC="ccache $CC";
fi;
- $srcdir/config -v $CONFIG_OPTS;
+ if [ -n "$CONFIGURE_TARGET" ]; then
+ $srcdir/Configure $CONFIGURE_TARGET $CONFIG_OPTS;
+ else
+ $srcdir/config -v $CONFIG_OPTS;
+ fi;
fi
- ./configdata.pm --dump
- cd $top
diff --git a/appveyor.yml b/appveyor.yml
index 22940694cd..949d6aad50 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -13,6 +13,7 @@ environment:
configuration:
- shared
- plain
+ - minimal
before_build:
- ps: >-
@@ -32,6 +33,8 @@ before_build:
- ps: >-
If ($env:Configuration -Match "shared") {
$env:SHARED="no-makedepend"
+ } ElseIf ($env:Configuration -Match "minimal") {
+ $env:SHARED="no-shared no-dso no-makedepend no-aria no-async no-autoload-config no-blake2 no-bf no-camellia no-cast no-chacha no-cmac no-cms no-cmp no-comp no-ct no-des no-dgram no-dh no-dsa no-dtls no-ec2m no-engine no-filenames no-gost no-idea no-ktls no-mdc2 no-md4 no-multiblock no-nextprotoneg no-ocsp no-ocb no-poly1305 no-psk no-rc2 no-rc4 no-rmd160 no-seed no-siphash no-siv no-sm2 no-sm3 no-sm4 no-srp no-srtp no-ssl3 no-ssl3-method no-ts no-ui-console no-whirlpool no-asm -DOPENSSL_SMALL_FOOTPRINT"
} Else {
$env:SHARED="no-shared no-makedepend"
}