1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-18 04:00:03 +02:00

.github/workflows/package.yml: package for both x86 and x64 on windows.

This commit is contained in:
Henrik Hautakoski 2020-02-21 11:30:41 +01:00 committed by Henrik Hautakoski
parent 67c12d7cb3
commit a8432ea972

View file

@ -38,7 +38,10 @@ jobs:
# Windows zip file
windows:
name: Windows
strategy:
matrix:
arch: [ x86, x64 ]
name: Windows (${{matrix.arch}})
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
@ -52,7 +55,13 @@ jobs:
7z x openssl-1.1.1e-dev.zip
- name: Configure
run: cmake -D OPENSSL_ROOT_DIR="$pwd/build/openssl-1.1/x64" -S . -B build
run: |
if ("${{matrix.arch}}" -eq "x86") {
$PLATFORM="Win32"
} else {
$PLATFORM="${{matrix.arch}}"
}
cmake -A $PLATFORM -D OPENSSL_ROOT_DIR="$pwd/build/openssl-1.1/${{matrix.arch}}" -S . -B build
- name: Build
run: cmake --build build --config Release