blob: 4a46ea58e16451ba02f8b202201863d5af6a8b05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
version: 2.2.{build}
configuration: Release
platform:
- x86
- x64
init:
- ps: >-
If ($env:Platform -Match "x86") {
$env:VCVARS_PLATFORM="x86"
$env:MSBUILD_PLATFORM="Win32"
$env:ENV_PLATFORM="x86"
$env:CONFIGURE_OPTIONS="disable-debug $env:ADDITIONAL_CONFIGURE_OPTIONS"
} Else {
$env:VCVARS_PLATFORM="amd64"
$env:MSBUILD_PLATFORM="x64"
$env:ENV_PLATFORM="x64"
$env:CONFIGURE_OPTIONS="enable-64bit disable-debug $env:ADDITIONAL_CONFIGURE_OPTIONS"
}
$CURRENT_DIR_PATH = (Get-Item -Path ".\" -Verbose).FullName
$env:BUILD_DIR = Join-Path $CURRENT_DIR_PATH build
$env:CRYPTO_PACKAGE= "$env:CRYPTO_PACKAGE_NAME-$env:ENV_PLATFORM.zip"
$env:CRYPTO_PACKAGE_PATH = Join-Path $env:BUILD_DIR "$env:CRYPTO_PACKAGE_NAME-$env:ENV_PLATFORM"
$env:CPPUNIT_VERSION_NAME = "CppUnit-1.13.2"
$env:CPPUNIT_PACKAGE_NAME = "cppunit-1.13.2"
$env:CPPUNIT_PACKAGE = "$env:CPPUNIT_PACKAGE_NAME-$env:ENV_PLATFORM.zip"
$env:PYTHON_PATH = Join-Path $env:BUILD_DIR python
$env:CPPUNIT_PATH = Join-Path $env:BUILD_DIR "$env:CPPUNIT_PACKAGE_NAME-$env:ENV_PLATFORM"
$env:PYTHON_EXE = Join-Path $env:PYTHON_PATH python.exe
$env:RELEASE_DIR=Join-Path $env:BUILD_DIR "SoftHSMv2-$env:ENV_PLATFORM"
$env:CONFIGURE_OPTIONS = "$env:CONFIGURE_OPTIONS with-crypto-backend=$env:CRYPTO_BACKEND with-$env:CRYPTO_BACKEND=$env:CRYPTO_PACKAGE_PATH\ with-cppunit=$env:CPPUNIT_PATH\"
environment:
matrix:
- CRYPTO_BACKEND: openssl
PACKAGE_VERSION_NAME: OpenSSL-1.0.2j
CRYPTO_PACKAGE_NAME: openssl-1.0.2j
ADDITIONAL_CONFIGURE_OPTIONS: disable-eddsa
- CRYPTO_BACKEND: botan
PACKAGE_VERSION_NAME: Botan-1.10.13
CRYPTO_PACKAGE_NAME: botan-1.10.13
ADDITIONAL_CONFIGURE_OPTIONS: disable-eddsa
- CRYPTO_BACKEND: openssl
PACKAGE_VERSION_NAME: OpenSSL-1.1.0b
CRYPTO_PACKAGE_NAME: openssl-1.1.0b
ADDITIONAL_CONFIGURE_OPTIONS: disable-eddsa disable-gost
install:
- cmd: powershell -File testing/appveyor/appveyor_download_requirements.ps1
build_script:
- cmd: testing/appveyor/appveyor_build.bat
test: off
artifacts:
- path: build/SoftHSMv2-$(Platform)
name: SoftHSMv2-$(PACKAGE_VERSION_NAME)-$(Platform)
|