Skip to content

Commit

Permalink
Update Win OpenSSL and build shared libraries
Browse files Browse the repository at this point in the history
[windows-openssl]
  • Loading branch information
outspace committed Feb 19, 2025
1 parent 8144e24 commit f163964
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions .github/workflows/build_openssl_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v3
with:
repository: openssl/openssl
ref: openssl-3.0.13
ref: openssl-3.0.16
path: openssl

- name: Setup msbuild environment
Expand All @@ -48,6 +48,19 @@ jobs:
mkdir build/win32
move libcrypto.lib build/win32
move libssl.lib build/win32
- name: Build Shared OpenSSL x86
if: matrix.arch == 'amd64_x86'
run: |
cd openssl
perl Configure no-tests VC-WIN32
nmake
mkdir build
mkdir build/win32
move libcrypto3.dll build/win32
move libssl3.dll build/win32
- name: Build OpenSSL x64
if: matrix.arch == 'amd64'
run: |
Expand All @@ -60,9 +73,21 @@ jobs:
move libcrypto.lib build/win64
move libssl.lib build/win64
move include build/include
- name: Build Shared OpenSSL x64
if: matrix.arch == 'amd64'
run: |
cd openssl
perl Configure no-tests VC-WIN64A
nmake
mkdir build
mkdir build/win64
move libcrypto-3-x64.dll build/win64
move libssl-3-x64.dll build/win64
- name: Archive Windows OpenSSL libs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
retention-days: 1
name: windows-openssl
Expand Down

0 comments on commit f163964

Please sign in to comment.