From d9f7c41d8bd17e14d846c15164a23ba4095e07b7 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Wed, 22 Mar 2023 14:45:50 +0100 Subject: [PATCH] .github/workflows/CI.yml: compile and test both openssl and libsecp256k1 as elliptic curve implementation. --- .github/workflows/CI.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 58cd33d..d7d22b7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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