clixon/.github/workflows/ci.yml
Olof hagsand 8c5a5a0fb3 * New docker build (preliminary) for a development container
* Load clixon-clispec on start
2021-12-07 20:07:22 +01:00

27 lines
No EOL
777 B
YAML

name: Clixon CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# 1) checkout and compile natively
- name: install cligen
run: (git clone https://github.com/clicon/cligen.git && cd cligen && ./configure && make && sudo make install)
- name: install libevent, ssl and nghttp2
run: sudo apt install -y libevent-dev libssl-dev libnghttp2-dev
- name: install libevhtp
run: (git clone https://github.com/clicon/clixon-libevhtp.git && cd clixon-libevhtp && ./configure && make && sudo make install)
- name: configure
run: ./configure
# 2) Use docker for tests
- name: make test # this is docker test
run: make test