summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-04-29 16:32:59 +0200
committerPauli <pauli@openssl.org>2021-05-01 13:13:11 +1000
commit39da32729401110572da1782c80bef39c6f3f64b (patch)
tree10b6917cfc4797511a4f925a7a0671d6592eac98 /appveyor.yml
parent535130c39d33df41b6a7d14302a93ffaa10ebc46 (diff)
downloadopenssl-new-39da32729401110572da1782c80bef39c6f3f64b.tar.gz
Simplify AppVeyor configuration
Adjust the stuff we are building and testing in various configurations to trim the run time a little bit. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15087)
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml19
1 files changed, 4 insertions, 15 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 20d81c1b12..9bb6f04e0a 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -16,15 +16,6 @@ configuration:
for:
-
- only_commits:
- message: /\[extended tests\]/
- configuration:
- - shared
- - plain
- - minimal
- environment:
- EXTENDED_TESTS: yes
- -
branches:
only:
- master
@@ -32,8 +23,6 @@ for:
- shared
- plain
- minimal
- environment:
- EXTENDED_TESTS: yes
before_build:
- ps: >-
@@ -50,11 +39,11 @@ before_build:
}
- ps: >-
If ($env:Configuration -Match "shared") {
- $env:CONFIG_OPTS=""
+ $env:CONFIG_OPTS="enable-fips"
} ElseIf ($env:Configuration -Match "minimal") {
$env:CONFIG_OPTS="no-bulk no-asm -DOPENSSL_SMALL_FOOTPRINT"
} Else {
- $env:CONFIG_OPTS="no-shared"
+ $env:CONFIG_OPTS="no-fips no-shared"
}
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %VCVARS_PLATFORM%
- mkdir _build
@@ -80,13 +69,13 @@ build_script:
test_script:
- cd _build
- ps: >-
- if ($env:EXTENDED_TESTS) {
+ if ($env:Configuration -Match "plain") {
cmd /c "%NMAKE% test VERBOSE_FAILURE=yes 2>&1"
} Else {
cmd /c "%NMAKE% test VERBOSE_FAILURE=yes TESTS=-test_fuzz 2>&1"
}
- ps: >-
- if ($env:EXTENDED_TESTS) {
+ if ($env:Configuration -Match "shared") {
mkdir ..\_install
cmd /c "%NMAKE% install DESTDIR=..\_install 2>&1"
}