Skip to content

Commit

Permalink
CI: add build test run
Browse files Browse the repository at this point in the history
Add build test run and fuzzing test. Lua support is also enabled.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
  • Loading branch information
Ansuel committed Feb 24, 2024
1 parent c1be505 commit a2fce00
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build-libubox.yml
Original file line number Diff line number Diff line change
@@ -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

1 comment on commit a2fce00

@ynezz
Copy link
Member

@ynezz ynezz commented on a2fce00 Mar 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW #2

Please sign in to comment.