Skip to content

Commit

Permalink
Add new actions: build and test with 3 different versions of openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Punsky committed Aug 25, 2022
1 parent 4909e50 commit bd266b3
Showing 1 changed file with 84 additions and 0 deletions.
84 changes: 84 additions & 0 deletions .github/workflows/openssl-versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: OpenSSL compatibility

on:
push:
branches: [ $default-branch ]
pull_request:
types: [ opened, reopened, synchronize ]

jobs:
build:

runs-on: ubuntu:22.04

steps:
- name: Install dependencies (OpenSSL-3.0.2)
run: |
sudo apt-get update
sudo apt-get install -y \
libevent-dev \
libssl-dev \
libpq-dev libmariadb-dev libsqlite3-dev \
libhiredis-dev \
libmongoc-dev \
libmicrohttpd-dev
- uses: actions/checkout@v3
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check
- name: apps tests
run: cd examples && ./run_tests.sh


build:

runs-on: ubuntu:20.04 (OpenSSL-1.1.1)

steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libevent-dev \
libssl-dev \
libpq-dev libmariadb-dev libsqlite3-dev \
libhiredis-dev \
libmongoc-dev \
libmicrohttpd-dev
- uses: actions/checkout@v3
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check
- name: apps tests
run: cd examples && ./run_tests.sh

build:

runs-on: ubuntu:16.04 (OpenSSL-1.0.2)

steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libevent-dev \
libssl-dev \
libpq-dev libmariadb-dev libsqlite3-dev \
libhiredis-dev \
libmongoc-dev \
libmicrohttpd-dev
- uses: actions/checkout@v3
- name: configure
run: ./configure
- name: make
run: make
- name: make check
run: make check
- name: apps tests
run: cd examples && ./run_tests.sh

0 comments on commit bd266b3

Please sign in to comment.