CI: add build test run
[project/libubox.git] / .github / workflows / build-libubox.yml
1 name: Build libubox
2
3 on:
4 push:
5 pull_request:
6
7 jobs:
8 build-backports:
9 name: Build libubox
10 runs-on: ubuntu-latest
11
12 steps:
13 - name: Install Dependencies
14 run: |
15 sudo apt update && sudo apt install cmake make gcc pkg-config python3 libjson-c-dev lua5.1 liblua5.1-0-dev
16
17 - name: Checkout
18 uses: actions/checkout@v4
19
20 - name: Install libubox
21 run: |
22 cmake -DBUILD_EXAMPLES=OFF -DUNIT_TESTING=ON
23 make
24 sudo make install