CI: add build test run
Add build test run and fuzzing test. Lua support is also enabled. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
c1be505732
commit
a2fce00181
1 changed files with 24 additions and 0 deletions
24
.github/workflows/build-libubox.yml
vendored
Normal file
24
.github/workflows/build-libubox.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: Build libubox
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build-backports:
|
||||
name: Build libubox
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo apt update && sudo apt install cmake make gcc pkg-config python3 libjson-c-dev lua5.1 liblua5.1-0-dev
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install libubox
|
||||
run: |
|
||||
cmake -DBUILD_EXAMPLES=OFF -DUNIT_TESTING=ON
|
||||
make
|
||||
sudo make install
|
Loading…
Reference in a new issue