Skip to content

Commit

Permalink
add workflow to check compatability with openssl versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeev-0 committed Oct 14, 2024
1 parent 46e50a8 commit 1d083ba
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/version_compatability.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# GitHub Actions for genCMPClient
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) Siemens AG, 2021-2024

name: CI

on: push

jobs:
openssl_version:
matrix:
opt: [
openssl-3.0,
openssl-3.1,
openssl-3.2,
openssl-3.3,
openssl-3.4
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: build openssl
run: |
git clone https://github.com/openssl/openssl.git --branch ${{ matrix.opt }}
cd openssl
./config --banner=Configured --strict-warnings
make -s -j4
make install
cd ..
- name: cmake
run: |
cmake .
make
mkdir build
cd build
cmake -S .. -B .
cmake --build .
cmake -DCMAKE_BUILD_TYPE=Release ..
make clean build
cd ..
mkdir build-with-libcmp
cd build-with-libcmp
USE_LIBCMP=1 cmake -S .. -B .
make clean build
DESTDIR=tmp make install uninstall
make deb

0 comments on commit 1d083ba

Please sign in to comment.