Skip to content

Commit 29edad4

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

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/build_openssl_windows.yml

Lines changed: 13 additions & 2 deletions
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
@@ -48,6 +50,11 @@ jobs:
4850
mkdir build/win32
4951
move libcrypto.lib build/win32
5052
move libssl.lib build/win32
53+
nmake clean
54+
nmake
55+
move libcrypto3.dll build/win32
56+
move libssl3.dll build/win32
57+
5158
- name: Build OpenSSL x64
5259
if: matrix.arch == 'amd64'
5360
run: |
@@ -60,9 +67,13 @@ jobs:
6067
move libcrypto.lib build/win64
6168
move libssl.lib build/win64
6269
move include build/include
70+
nmake clean
71+
nmake
72+
move libcrypto-3-x64.dll build/win64
73+
move libssl-3-x64.dll build/win64
6374
6475
- name: Archive Windows OpenSSL libs
65-
uses: actions/upload-artifact@v3
76+
uses: actions/upload-artifact@v4
6677
with:
6778
retention-days: 1
6879
name: windows-openssl

0 commit comments

Comments
 (0)