2 on: [push, pull_request]
6 runs-on: windows-latest
8 openssl-head: ${{ steps.openssl.outputs.head }}
10 - uses: actions/checkout@v2
12 repository: openssl/openssl
14 - run: echo "::set-output name=head::$(git describe --always --long)"
16 - uses: actions/cache@v2
20 key: ${{ runner.os }}-openssl-${{ steps.openssl.outputs.head }}
21 - uses: ilammy/msvc-dev-cmd@v1
23 if: steps.cache.outputs.cache-hit != 'true'
25 perl Configure no-makedepend no-tests no-asm VC-WIN64A
26 perl configdata.pm --dump
27 nmake /S build_libs build_programs
28 nmake /S install_sw DESTDIR=_dest
32 runs-on: windows-latest
34 - uses: actions/checkout@v2
37 - uses: actions/cache@v2
40 key: ${{ runner.os }}-openssl-${{ needs.msvc-openssl.outputs.openssl-head }}
41 - run: cmake -DOPENSSL_ROOT_DIR="_dest\Program Files\OpenSSL" -DOPENSSL_ENGINES_DIR=bin .
42 - run: cmake --build .
45 $env:PATH = "$env:PATH;$pwd\_dest\Program Files\OpenSSL\bin"
46 $env:OPENSSL_ENGINES = "$pwd\bin\Debug"
47 $env:OPENSSL_MODULES = "$pwd\bin\Debug"
48 ctest -C Debug --output-on-failure