Skip to content

Commit

Permalink
ci: install libuci under /tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Zxilly committed Oct 20, 2023
1 parent 8f34088 commit 5aaf2a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,18 @@ jobs:
sudo apt-get install -y cmake libnetfilter-queue-dev libmnl-dev libnetfilter-conntrack-dev
- name: Build and install libubox
working-directory: /tmp
run: |
git clone https://github.com/openwrt/libubox.git
cd libubus
cd libubox
mkdir build
cd build
cmake .. -DBUILD_LUA=OFF -DBUILD_EXAMPLES=OFF
make
sudo make install
- name: Build and install libuci
working-directory: /tmp
run: |
git clone https://github.com/openwrt/uci.git
cd uci
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,18 @@ jobs:
sudo apt-get install -y cmake libnetfilter-queue-dev libmnl-dev libnetfilter-conntrack-dev
- name: Build and install libubox
working-directory: /tmp
run: |
git clone https://github.com/openwrt/libubox.git
cd libubus
mkdir build
cd build
cmake .. -DBUILD_LUA=OFF -DBUILD_EXAMPLES=OFF
make
sudo make instal
sudo make install
- name: Build and install libuci
working-directory: /tmp
run: |
git clone https://github.com/openwrt/uci.git
cd uci
Expand Down

0 comments on commit 5aaf2a2

Please sign in to comment.