Compile errors for woth-restconf=fcgi. Added CI for compiling fcgi

This commit is contained in:
Olof hagsand 2023-09-26 22:50:06 +02:00
parent 2b6bd4fb5c
commit 512d085f38
5 changed files with 27 additions and 5 deletions

View file

@ -30,6 +30,29 @@ jobs:
run: (cd util; make)
- name: install example
run: (cd example; sudo make install)
- name: install utils
run: (cd util; sudo make install)
native-build-fcgi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# 1) checkout and compile natively (no test)
- name: install cligen
run: (git clone https://github.com/clicon/cligen.git && cd cligen && ./configure && make && sudo make install)
- name: install dependencies
run: sudo apt install -y libssl-dev libnghttp2-dev
- name: configure
run: ./configure --with-restconf=fcgi
- name: make
run: make -j10
- name: make install
run: sudo make install install-include
- name: make example
run: (cd example; make)
- name: make utils
run: (cd util; make)
- name: install example
run: (cd example; sudo make install)
- name: install utils
run: (cd util; sudo make install)
docker-run: