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 9402e77
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion .github/workflows/build_openssl_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ jobs:
arch:
- amd64
- amd64_x86
- shared_amd64
- shared_amd64_x86

steps:
- name: 'Get openssl'
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 Down Expand Up @@ -60,6 +62,29 @@ jobs:
move libcrypto.lib build/win64
move libssl.lib build/win64
move include build/include
- name: Build OpenSSL x86
if: matrix.arch == 'shared_amd64'
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 == 'shared_amd64_x86'
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
Expand Down

0 comments on commit 9402e77

Please sign in to comment.