Skip to content

Commit f163964

Browse files
committed
Update Win OpenSSL and build shared libraries
[windows-openssl]
1 parent 8144e24 commit f163964

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

.github/workflows/build_openssl_windows.yml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: actions/checkout@v3
2525
with:
2626
repository: openssl/openssl
27-
ref: openssl-3.0.13
27+
ref: openssl-3.0.16
2828
path: openssl
2929

3030
- name: Setup msbuild environment
@@ -48,6 +48,19 @@ jobs:
4848
mkdir build/win32
4949
move libcrypto.lib build/win32
5050
move libssl.lib build/win32
51+
52+
- name: Build Shared OpenSSL x86
53+
if: matrix.arch == 'amd64_x86'
54+
run: |
55+
cd openssl
56+
57+
perl Configure no-tests VC-WIN32
58+
nmake
59+
mkdir build
60+
mkdir build/win32
61+
move libcrypto3.dll build/win32
62+
move libssl3.dll build/win32
63+
5164
- name: Build OpenSSL x64
5265
if: matrix.arch == 'amd64'
5366
run: |
@@ -60,9 +73,21 @@ jobs:
6073
move libcrypto.lib build/win64
6174
move libssl.lib build/win64
6275
move include build/include
76+
77+
- name: Build Shared OpenSSL x64
78+
if: matrix.arch == 'amd64'
79+
run: |
80+
cd openssl
81+
82+
perl Configure no-tests VC-WIN64A
83+
nmake
84+
mkdir build
85+
mkdir build/win64
86+
move libcrypto-3-x64.dll build/win64
87+
move libssl-3-x64.dll build/win64
6388
6489
- name: Archive Windows OpenSSL libs
65-
uses: actions/upload-artifact@v3
90+
uses: actions/upload-artifact@v4
6691
with:
6792
retention-days: 1
6893
name: windows-openssl

0 commit comments

Comments
 (0)