-
-
Notifications
You must be signed in to change notification settings - Fork 542
37 lines (37 loc) · 864 Bytes
/
build.yml
File metadata and controls
37 lines (37 loc) · 864 Bytes
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
name: build
on:
push:
branches:
- '**'
tags-ignore:
- '**'
jobs:
build:
runs-on: ubuntu-24.04
strategy:
matrix:
include:
- ssl: none
name: none
- ssl: openssl
name: OPENSSL
pkg: libssl-dev
- ssl: mbedtls
name: MBEDTLS
pkg: libmbedtls-dev
- ssl: wolfssl
name: WOLFSSL
pkg: libwolfssl-dev
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: build
env:
name: ${{ matrix.name }}
pkg: ${{ matrix.pkg }}
run: |
sudo apt install -y libev-dev libinih-dev
[ -n "$pkg" ] && sudo apt install -y $pkg
[ "$name" = "none" ] && cmake . -DSSL_SUPPORT=OFF || cmake . -DUSE_$name=ON
make