debian-12 to ubuntu-24.04 #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Build package for luci-app-fleth | |
on: | |
push: | |
branches: | |
- test-ci | |
jobs: | |
prepare: | |
runs-on: ubuntu-24.04 | |
steps: | |
# - name: install deps | |
# run: apt install -y | |
- name: Download SDK from OpenWrt | |
run: | | |
wget https://archive.openwrt.org/releases/22.03.0/targets/x86/generic/openwrt-sdk-22.03.0-x86-generic_gcc-11.2.0_musl.Linux-x86_64.tar.xz --tries 2 | |
tar --strip-components=1 -xf openwrt*.tar.xz | |
- name: Checkout fleth | |
uses: actions/checkout@v4 | |
with: | |
path: package/huggy | |
- name: download dependencies | |
run: | | |
pwd | |
ls | |
ls package | |
./scripts/feeds update -a | |
./scripts/feeds install -a | |
compile: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: compile | |
run: | | |
make package/luci-app-fleth/compile V=s | |
ls bin |