mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-16 03:34:56 +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
|
||||
matrix:
|
||||
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}}
|
||||
|
||||
steps:
|
||||
|
|
@ -31,7 +32,7 @@ jobs:
|
|||
if [ "$RUNNER_OS" == "macOS" ]; then
|
||||
SSL_OPTS="-D OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1"
|
||||
fi
|
||||
cmake -DBUILD_TESTING=ON ${SSL_OPTS} -B build
|
||||
cmake -DBUILD_TESTING=ON ${SSL_OPTS} -DEC_LIB=${{matrix.ec_lib}} -B build
|
||||
|
||||
- name: Build
|
||||
shell: bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue