Sync and validate master branch on Arm64 Windows #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build OpenSSL Arm64 | |
on: | |
pull_request: | |
branches: [ "dev" ] | |
workflow_dispatch: | |
inputs: | |
branch: | |
description: 'Branch name' | |
required: false | |
type: string | |
openssl_windows_arm64_msvc_build: | |
description: 'OpenSSL Windows Arm64 MSVC' | |
required: false | |
default: true | |
type: boolean | |
openssl_windows_arm64_clangcl_build: | |
description: 'OpenSSL Windows Arm64 clang-cl' | |
required: false | |
default: true | |
type: boolean | |
workflow_call: | |
inputs: | |
branch: | |
description: 'Branch name' | |
required: false | |
type: string | |
jobs: | |
build-openssl-windows-arm64-msvc: | |
runs-on: [self-hosted, Windows, ARM64, GCC, D2ps_v5] | |
timeout-minutes: 600 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ inputs.branch }} | |
- name: Build OpenSSL on Windows Arm64 with MSVC | |
shell: cmd | |
run: | | |
echo on | |
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" arm64 | |
set VSCMD_DEBUG=3 | |
set PATH=%PATH%;%VCINSTALLDIR%\Tools\Llvm\ARM64\bin | |
perl Configure VC-WIN64-ARM | |
nmake | |
nmake test | |
.\apps\openssl.exe speed 2> benchmark.txt | |
type benchmark.txt | |
build-openssl-windows-arm64-clangcl: | |
runs-on: [self-hosted, Windows, ARM64, GCC, D2ps_v5] | |
timeout-minutes: 600 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ inputs.branch }} | |
- name: Build OpenSSL on Windows Arm64 with clang-cl | |
shell: cmd | |
run: | | |
echo on | |
call "%ProgramFiles%\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" arm64 | |
set VSCMD_DEBUG=3 | |
set PATH=%PATH%;%VCINSTALLDIR%\Tools\Llvm\ARM64\bin | |
perl Configure VC-CLANG-WIN64-CLANGASM-ARM | |
nmake | |
nmake test | |
.\apps\openssl.exe speed 2> benchmark.txt | |
type benchmark.txt | |
build-openssl-linux-aarch64-gcc: | |
runs-on: [self-hosted, Linux, ARM64, GCC, D2ps_v5] | |
timeout-minutes: 600 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ inputs.branch }} | |
- name: Build OpenSSL on Linux AArch64 with GCC | |
run: | | |
./Configure | |
make | |
make test | |
LD_LIBRARY_PATH=$(pwd) apps/openssl speed > benchmark.txt 2>&1 | |
cat benchmark.txt |