Skip to content

Commit 9402e77

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

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

.github/workflows/build_openssl_windows.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ jobs:
1818
arch:
1919
- amd64
2020
- amd64_x86
21+
- shared_amd64
22+
- shared_amd64_x86
2123

2224
steps:
2325
- name: 'Get openssl'
2426
uses: actions/checkout@v3
2527
with:
2628
repository: openssl/openssl
27-
ref: openssl-3.0.13
29+
ref: openssl-3.0.16
2830
path: openssl
2931

3032
- name: Setup msbuild environment
@@ -60,6 +62,29 @@ jobs:
6062
move libcrypto.lib build/win64
6163
move libssl.lib build/win64
6264
move include build/include
65+
66+
- name: Build OpenSSL x86
67+
if: matrix.arch == 'shared_amd64'
68+
run: |
69+
cd openssl
70+
71+
perl Configure no-tests VC-WIN32
72+
nmake
73+
mkdir build
74+
mkdir build/win32
75+
move libcrypto3.dll build/win32
76+
move libssl3.dll build/win32
77+
- name: Build OpenSSL x64
78+
if: matrix.arch == 'shared_amd64_x86'
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
6590
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)