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:
parent
67c12d7cb3
commit
a8432ea972
1 changed files with 11 additions and 2 deletions
13
.github/workflows/package.yml
vendored
13
.github/workflows/package.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue