forked from baresip/baresip
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 847 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
35
36
37
38
39
40
name: OpenSSL no-deprecated and LibreSSL
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ssl:
runs-on: ubuntu-latest
strategy:
matrix:
ssl: [libressl, openssl]
steps:
- uses: actions/checkout@v4
- uses: sreimers/[email protected]
with:
name: re
repo: https://github.com/baresip/re
secret: ${{ secrets.GITHUB_TOKEN }}
- name: make re
run: |
for p in re; do
cmake -S $p -B $p/build
cmake --build $p/build -j
done
for p in re; do
mv $p ../.
done
sudo ldconfig
- name: make baresip
run: cmake -B build -DCMAKE_C_FLAGS="-Iassets/${{ matrix.ssl }}/include -Werror" -DCMAKE_EXE_LINKER_FLAGS="-Lassets/${{ matrix.ssl }}" && cmake --build build -j