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

View file

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