File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 2020
2121jobs :
2222 build :
23- runs-on : windows-latest
23+ runs-on : ${{ matrix.ARCH.RUNNER }}
2424 strategy :
2525 fail-fast : false
2626 matrix :
27- ARCH : ["win32", "win64"]
28- name : " Build OpenSSL for ${{ matrix.ARCH }} on MSVC 2022"
27+ ARCH :
28+ - {ARCH: "win32", RUNNER: "windows-latest"}
29+ - {ARCH: "win64", RUNNER: "windows-latest"}
30+ - {ARCH: "arm64", RUNNER: "windows-11-arm"}
31+ name : " Build OpenSSL for ${{ matrix.ARCH.ARCH }} on MSVC 2022"
2932 steps :
3033 - uses : actions/checkout@v4.2.2
3134 with :
4750 shell : powershell
4851 - run : ' "C:\Program Files\WinRAR\WinRAR.exe" -INUL x openssl-latest.tar.gz'
4952 shell : cmd
50- - run : windows\openssl\build_openssl.bat ${{ matrix.ARCH }}
53+ - run : windows\openssl\build_openssl.bat ${{ matrix.ARCH.ARCH }}
5154 shell : cmd
5255 - uses : actions/upload-artifact@v4.6.2
5356 with :
54- name : " openssl-${{ matrix.ARCH }}"
57+ name : " openssl-${{ matrix.ARCH.ARCH }}"
5558 path : build\
Original file line number Diff line number Diff line change @@ -10,11 +10,16 @@ if "%BUILDARCH%" == "win32" (
1010 CALL " C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86
1111
1212 perl Configure %OPENSSL_BUILD_FLAGS_WINDOWS% VC-WIN32
13- ) else (
13+ ) else if " %BUILDARCH% " == " win64 " (
1414 CALL " C:\Program Files\Microsoft Visual Studio\2022\Enterprise\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=x64
1515 CALL " C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
1616
1717 perl Configure %OPENSSL_BUILD_FLAGS_WINDOWS% VC-WIN64A
18+ ) else if " %BUILDARCH% " == " arm64" (
19+ CALL " C:\Program Files\Microsoft Visual Studio\2022\Enterprise\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=arm64
20+ CALL " C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" arm64
21+
22+ perl Configure %OPENSSL_BUILD_FLAGS_WINDOWS% VC-WIN64-ARM
1823)
1924
2025jom
You can’t perform that action at this time.
0 commit comments