mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-07-03 23:13:40 +02:00
.github/workflows/CI.yml: compile and test both openssl and libsecp256k1 as elliptic curve implementation.
This commit is contained in:
parent
f65a7ee6cd
commit
d9f7c41d8b
1 changed files with 3 additions and 2 deletions
5
.github/workflows/CI.yml
vendored
5
.github/workflows/CI.yml
vendored
|
|
@ -13,8 +13,9 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: [ ubuntu-20.04, ubuntu-22.04, macos-latest, windows-latest ]
|
os: [ ubuntu-20.04, ubuntu-22.04, macos-latest, windows-latest ]
|
||||||
|
ec_lib: [ openssl, libsecp256k1 ]
|
||||||
|
|
||||||
name: ${{matrix.os}}
|
name: ${{matrix.os}} - ${{matrix.ec_lib}}
|
||||||
runs-on: ${{matrix.os}}
|
runs-on: ${{matrix.os}}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -31,7 +32,7 @@ jobs:
|
||||||
if [ "$RUNNER_OS" == "macOS" ]; then
|
if [ "$RUNNER_OS" == "macOS" ]; then
|
||||||
SSL_OPTS="-D OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1"
|
SSL_OPTS="-D OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1"
|
||||||
fi
|
fi
|
||||||
cmake -DBUILD_TESTING=ON ${SSL_OPTS} -B build
|
cmake -DBUILD_TESTING=ON ${SSL_OPTS} -DEC_LIB=${{matrix.ec_lib}} -B build
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue