Compare commits

...

2 Commits

Author SHA1 Message Date
Slava-Shchipunov
e846da3696 fix: add ref to commit with correct kernel 2024-08-23 15:32:33 +07:00
Slava-Shchipunov
d613295891 feat: add build to snapshot 2024-08-23 12:09:12 +07:00

View File

@@ -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