Compare commits
2 Commits
v25.12.2
...
feat/build
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e846da3696 | ||
|
|
d613295891 |
14
.github/workflows/build-module.yml
vendored
14
.github/workflows/build-module.yml
vendored
@@ -13,16 +13,16 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
build_env:
|
build_env:
|
||||||
- tag: "23.05.4"
|
- tag: "23.05.4"
|
||||||
pkgarch: aarch64_cortex-a53
|
pkgarch: "mipsel_24kc"
|
||||||
target: mediatek
|
target: "ramips"
|
||||||
subtarget: filogic
|
subtarget: "mt7621"
|
||||||
vermagic: "03ba5b5fee47f2232a088e3cd9832aec"
|
vermagic: "71023f695d1597d994f06e42c25cbbdb"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: openwrt/openwrt
|
repository: openwrt/openwrt
|
||||||
ref: v${{ matrix.build_env.tag }}
|
ref: 715634e6d1443eacdcb84b04d1028c1564b08dbf
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Cache Tools and Kernel
|
- name: Cache Tools and Kernel
|
||||||
@@ -42,12 +42,12 @@ jobs:
|
|||||||
echo "pkgarch: ${{ matrix.build_env.pkgarch}}, target:${{ matrix.build_env.target}}, subtarget: ${{ matrix.build_env.subtarget}}"
|
echo "pkgarch: ${{ matrix.build_env.pkgarch}}, target:${{ matrix.build_env.target}}, subtarget: ${{ matrix.build_env.subtarget}}"
|
||||||
|
|
||||||
# Setup & install feeds
|
# Setup & install feeds
|
||||||
wget https://downloads.openwrt.org/releases/${{ matrix.build_env.tag }}/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/feeds.buildinfo -O feeds.conf
|
wget https://downloads.openwrt.org/snapshots/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/feeds.buildinfo -O feeds.conf
|
||||||
echo "src-git awgopenwrt https://github.com/yury-sannikov/awg-openwrt.git" >> ./feeds.conf
|
echo "src-git awgopenwrt https://github.com/yury-sannikov/awg-openwrt.git" >> ./feeds.conf
|
||||||
./scripts/feeds update && ./scripts/feeds install -a
|
./scripts/feeds update && ./scripts/feeds install -a
|
||||||
|
|
||||||
# Setup config with AWG and dependencies
|
# Setup config with AWG and dependencies
|
||||||
wget https://downloads.openwrt.org/releases/${{ matrix.build_env.tag }}/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/config.buildinfo -O .config
|
wget https://downloads.openwrt.org/snapshots/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/config.buildinfo -O .config
|
||||||
echo "CONFIG_PACKAGE_kmod-amneziawg=m" >> .config
|
echo "CONFIG_PACKAGE_kmod-amneziawg=m" >> .config
|
||||||
echo "CONFIG_PACKAGE_amneziawg-tools=y" >> .config
|
echo "CONFIG_PACKAGE_amneziawg-tools=y" >> .config
|
||||||
echo "CONFIG_PACKAGE_luci-app-amneziawg=y" >> .config
|
echo "CONFIG_PACKAGE_luci-app-amneziawg=y" >> .config
|
||||||
|
|||||||
Reference in New Issue
Block a user