ci: build daed use openwrt-24.10 sdk
Signed-off-by: sbwml <admin@cooluc.com>
This commit is contained in:
parent
404552e198
commit
a68e0b8fd3
62
.github/workflows/build-daed.yml
vendored
62
.github/workflows/build-daed.yml
vendored
@ -1,62 +0,0 @@
|
|||||||
name: Build luci-app-daed
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
repository_dispatch:
|
|
||||||
types: [daed]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build ${{ matrix.arch }}
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
arch:
|
|
||||||
- aarch64_cortex-a53
|
|
||||||
- aarch64_cortex-a72
|
|
||||||
- aarch64_generic
|
|
||||||
- i386_pentium-mmx
|
|
||||||
- i386_pentium4
|
|
||||||
- x86_64
|
|
||||||
sdk:
|
|
||||||
- openwrt-22.03
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Building packages
|
|
||||||
uses: sbwml/openwrt-gh-action-sdk@go1.23
|
|
||||||
env:
|
|
||||||
ARCH: ${{ matrix.arch }}-${{ matrix.sdk }}
|
|
||||||
FEEDNAME: packages_ci
|
|
||||||
PACKAGES: luci-app-daed
|
|
||||||
NO_REFRESH_CHECK: true
|
|
||||||
|
|
||||||
- name: Upload artifacts
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: ${{ matrix.arch }}
|
|
||||||
path: bin/packages/${{ matrix.arch }}/packages_ci/*.ipk
|
|
||||||
|
|
||||||
- name: Remove v2ray-data
|
|
||||||
run: |
|
|
||||||
rm -rf bin/packages/${{ matrix.arch }}/packages_ci/v2ray-*
|
|
||||||
|
|
||||||
- name: Upload FTP
|
|
||||||
uses: sbwml/FTP-Deploy-Action@master
|
|
||||||
with:
|
|
||||||
server: ${{ secrets.ftp_address }}
|
|
||||||
username: ${{ secrets.ftp_username }}
|
|
||||||
password: ${{ secrets.ftp_password }}
|
|
||||||
server-dir: tmp/${{ matrix.arch }}/
|
|
||||||
local-dir: bin/packages/${{ matrix.arch }}/packages_ci/
|
|
||||||
dangerous-clean-slate: true
|
|
||||||
|
|
||||||
- name: Create metadata
|
|
||||||
run: |
|
|
||||||
sshpass -p ${{ secrets.server_password }} ssh -o StrictHostKeyChecking=no root@${{ secrets.ftp_address }} >/dev/null 2>&1
|
|
||||||
sshpass -p ${{ secrets.server_password }} ssh root@${{ secrets.ftp_address }} "/opt/sbin/opkg-sign ${{ matrix.arch }}"
|
|
||||||
|
|
6
.github/workflows/build-packages.yml
vendored
6
.github/workflows/build-packages.yml
vendored
@ -54,12 +54,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Hack daed packages
|
||||||
|
run: |
|
||||||
|
sed -i 's/$(BPF_DEPENDS)//g' daed/Makefile
|
||||||
|
|
||||||
- name: Build Packages
|
- name: Build Packages
|
||||||
uses: sbwml/openwrt-gh-action-sdk@helloworld
|
uses: sbwml/openwrt-gh-action-sdk@helloworld
|
||||||
env:
|
env:
|
||||||
ARCH: ${{ matrix.arch }}-${{ matrix.tag }}
|
ARCH: ${{ matrix.arch }}-${{ matrix.tag }}
|
||||||
FEEDNAME: packages_ci
|
FEEDNAME: packages_ci
|
||||||
PACKAGES: chinadns-ng dns2socks dns2tcp hysteria ipt2socks lua-neturl luci-app-homeproxy luci-app-mihomo luci-app-openclash luci-app-passwall luci-app-passwall2 luci-app-ssr-plus microsocks naiveproxy pdnsd redsocks2 shadow-tls shadowsocks-rust shadowsocksr-libev simple-obfs sing-box tcping trojan trojan-plus tuic-client v2ray-core v2ray-geodata xray-core xray-plugin
|
PACKAGES: chinadns-ng daed dns2socks dns2tcp hysteria ipt2socks lua-neturl luci-app-daed luci-app-homeproxy luci-app-mihomo luci-app-openclash luci-app-passwall luci-app-passwall2 luci-app-ssr-plus microsocks naiveproxy pdnsd redsocks2 shadow-tls shadowsocks-rust shadowsocksr-libev simple-obfs sing-box tcping trojan trojan-plus tuic-client v2ray-core v2ray-geodata xray-core xray-plugin
|
||||||
KEY_BUILD: ${{ secrets.sign_key }}
|
KEY_BUILD: ${{ secrets.sign_key }}
|
||||||
NO_REFRESH_CHECK: true
|
NO_REFRESH_CHECK: true
|
||||||
IGNORE_ERRORS: true
|
IGNORE_ERRORS: true
|
||||||
|
Loading…
Reference in New Issue
Block a user