clixon/.github/workflows/ci.yml
2022-07-28 19:15:00 +02:00

25 lines
No EOL
620 B
YAML

name: Clixon CI
on:
push:
branches: [ master, with-defaults ]
pull_request:
branches: [ master, with-defaults ]
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 ssl and nghttp2
run: sudo apt install -y libssl-dev libnghttp2-dev
- name: configure
run: ./configure
# 2) Use docker for tests
- name: make test # this is docker test
run: make test