forked from obgm/libcoap-minimal
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (38 loc) · 1 KB
/
main.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
41
name: Build Tests
on:
push:
branches:
- main
- develop
- release-*
- gh-workflows
pull_request:
branches:
- main
- develop
env:
PLATFORM: posix
TESTS: yes
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
LIBVER: ["v4.3.0", "v4.3.1", "v4.3.2", "v4.3.3", "v4.3.4", "develop"]
steps:
- uses: actions/checkout@v4
- name: setup
run: |
sudo apt-get update && sudo apt-get install -y libtool libtool-bin exuberant-ctags
- name: configure / build / install libcoap
run: |
git clone https://github.com/obgm/libcoap.git
cd libcoap
git checkout ${{matrix.LIBVER}}
./autogen.sh
./configure --with-openssl --disable-documentation --disable-doxygen --disable-man --disable-tests --disable-examples --disable-license-install
make
sudo make install
- name: build minimal
run: |
LIBCOAP=libcoap-3-openssl make