Skip to content

Commit

Permalink
Create makefile.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
amarnathhullur authored Jan 21, 2025
1 parent 495589c commit b304a00
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Build Check on Arm64

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout current repository
uses: actions/checkout@v4
with:
path: 'OneWifi'

- name: Clone unified-wifi-mesh repository
run: |
mkdir -p easymesh_project
git clone https://github.com/rdkcentral/unified-wifi-mesh.git easymesh_project/unified-wifi-mesh
mv OneWifi easymesh_project/OneWifi
- 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 \
golang
- 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

0 comments on commit b304a00

Please sign in to comment.