1
0
Fork 0
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:
Henrik Hautakoski 2023-03-22 14:45:50 +01:00
parent f65a7ee6cd
commit d9f7c41d8b

View file

@ -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