forked from baresip/re
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (26 loc) · 837 Bytes
/
ssl.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: OpenSSL no-deprecated and LibreSSL
on: [push, pull_request]
jobs:
ssl:
runs-on: ubuntu-latest
strategy:
matrix:
ssl: [libressl, openssl]
env:
CMAKE_GENERATOR: Ninja
OPENSSL_ROOT_DIR: "assets/${{ matrix.ssl }}"
steps:
- uses: actions/checkout@v3
- name: fix flaky azure mirrors
if: ${{ runner.os == 'Linux' }}
run: |
sudo sed -i 's/azure\./de\./' /etc/apt/sources.list
- name: install packages
run: |
sudo apt-get update && sudo apt-get install -y ninja-build
- name: Download pre-compiled OpenSSL/LibreSSL
run: |
wget "https://github.com/baresip/tools/releases/download/v0.3/assets.tar.gz"
tar -xf assets.tar.gz
- name: make
run: cmake -B build -DCMAKE_C_FLAGS="-Werror" && cmake --build build -j