27 lines
No EOL
570 B
YAML
27 lines
No EOL
570 B
YAML
name: Clixon CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: install cligen
|
|
run: (git clone https://github.com/clicon/cligen.git && cd cligen && ./configure && make && sudo make install)
|
|
- name: configure
|
|
run: ./configure --with-restconf=native
|
|
- name: make
|
|
run: make
|
|
- name: make install
|
|
run: sudo make install
|
|
- name: ldconfig
|
|
run: sudo ldconfig
|
|
- name: make test
|
|
run: make test |