github actions: libevent and clixon users

This commit is contained in:
Olof hagsand 2021-06-16 13:51:01 +02:00
parent fdcb7eb9ab
commit f7162297d3

View file

@ -15,8 +15,12 @@ jobs:
- uses: actions/checkout@v2
- name: install cligen
run: (git clone https://github.com/clicon/cligen.git && cd cligen && ./configure && make && sudo make install)
- name: install libevent
run: sudo apt install -y libevent-dev libssl-dev
- name: install libevhtp
run: (git clone https://github.com/clicon/clixon-libevhtp.git && cd clixon-libevhtp && ./configure && make && sudo make install)
- name: clixon and www-data users
run: sudo useradd -M www-data && sudo useradd -M -U clicon && sudo usermod -a -G clicon www-data
- name: configure
run: ./configure --with-restconf=native
- name: make