-
Notifications
You must be signed in to change notification settings - Fork 20
82 lines (71 loc) · 2.52 KB
/
build.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: Build Check on ARM64
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
Build:
runs-on: ubuntu-latest # Host OS for the container
steps:
- name: Checkout current repository
uses: actions/checkout@v4
with:
path: 'unified-wifi-mesh'
- name: Clone OneWiFi repository
run: |
mkdir -p easymesh_project
git clone https://github.com/rdkcentral/OneWifi.git easymesh_project/OneWifi
mv unified-wifi-mesh easymesh_project/unified-wifi-mesh
- name: Set up dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential \
cmake \
python3 \
python3-pip \
git \
vim \
libev-dev \
libjansson-dev \
zlib1g-dev \
libnl-3-dev \
libnl-genl-3-dev \
libnl-route-3-dev \
libavro-dev \
libcjson1 libcjson-dev \
libssl-dev \
uuid-dev \
libmysqlcppconn-dev \
libreadline-dev \
iptables \
mariadb-server \
gnupg \
file \
- name: Setup OneWiFi
working-directory: easymesh_project/OneWifi
run: |
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git config --global user.name "${{ github.actor }}"
make -f build/linux/makefile setup
env:
GITHUB_ACTOR: ${{ github.actor }}
- name: Build OneWiFi
working-directory: easymesh_project/OneWifi
run: |
make -f build/linux/makefile all
- name: Build unified-wifi-mesh controller
working-directory: easymesh_project/unified-wifi-mesh/build/ctrl
run: |
make clean
make all
- name: Build unified-wifi-mesh agent
working-directory: easymesh_project/unified-wifi-mesh/build/agent
run: |
make clean
make all
- name: Build unified-wifi-mesh CLI
working-directory: easymesh_project/unified-wifi-mesh/build/cli
run: |
make clean
make all