-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 957 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Clixon-util CI
on:
push:
branches:
- main
- test-actions
pull_request:
branches: [ main ]
schedule:
- cron: '30 4 * * 6' # Run every Saturday morning
jobs:
native:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# NATIVE BUILD and TEST
- name: install cligen native
run: (git clone https://github.com/clicon/cligen.git && cd cligen && ./configure && make && sudo make install)
- name: run apt update
run: sudo apt update
- name: install libnghttp2-dev
run: sudo apt install -y libnghttp2-dev
- name: install libcurl
run: sudo apt install -y libcurl4-openssl-dev
- name: install clixon native
run: (git clone https://github.com/clicon/clixon.git && cd clixon && ./configure && make && sudo make install)
- name: configure
run: ./configure
- name: make and install on host
run: make && sudo make install && sudo ldconfig