diff options
author | Alex Chernyakhovsky <alex@achernya.com> | 2022-06-27 19:06:55 -0400 |
---|---|---|
committer | Alex Chernyakhovsky <achernya@mit.edu> | 2022-06-27 13:46:18 -1000 |
commit | e5e62b4c76d6a0c8fae0cc733d18bb58c32b95c2 (patch) | |
tree | 907122568eaafcca851bbe771dd77dbc34c73d3d /.github | |
parent | 13d73a614473b41e838bf8524c548e6f605c865b (diff) |
Add nettle to the CI matrix
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 579b3bd..5e52ec6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,13 +9,18 @@ jobs: strategy: matrix: os: [macos-latest, ubuntu-18.04, ubuntu-20.04] + crypto: [auto] + include: + - crypto: nettle + os: ubuntu-20.04 + steps: - uses: actions/checkout@v2 - name: "setup linux build environment" if: ${{ startsWith(matrix.os, 'ubuntu') }} - run: sudo apt install -y protobuf-compiler libprotobuf-dev libutempter-dev autoconf automake + run: sudo apt install -y protobuf-compiler libprotobuf-dev libutempter-dev autoconf automake nettle-dev - name: "setup macos build environment" if: ${{ startsWith(matrix.os, 'macos') }} @@ -24,8 +29,8 @@ jobs: - name: "generate build scripts" run: ./autogen.sh - - name: "configure" - run: ./configure --enable-compile-warnings=error --enable-examples + - name: ${{ format('configure (crypto {0})', matrix.crypto) }} + run: ./configure --enable-compile-warnings=error --enable-examples ${{ (matrix.crypto != 'auto' && format('--with-crypto-library={0}', matrix.crypto)) || '' }} - name: "build" run: make V=1 |