Skip to content

Commit

Permalink
feat: add build to snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Slava-Shchipunov authored Aug 23, 2024
1 parent 6c69a94 commit d613295
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
matrix:
build_env:
- tag: "23.05.4"
pkgarch: aarch64_cortex-a53
target: mediatek
subtarget: filogic
vermagic: "03ba5b5fee47f2232a088e3cd9832aec"
pkgarch: "mipsel_24kc"
target: "ramips"
subtarget: "mt7621"
vermagic: "71023f695d1597d994f06e42c25cbbdb"

steps:
- uses: actions/checkout@v4
with:
repository: openwrt/openwrt
ref: v${{ matrix.build_env.tag }}
ref: master
fetch-depth: 0

- name: Cache Tools and Kernel
Expand All @@ -42,12 +42,12 @@ jobs:
echo "pkgarch: ${{ matrix.build_env.pkgarch}}, target:${{ matrix.build_env.target}}, subtarget: ${{ matrix.build_env.subtarget}}"
# 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
./scripts/feeds update && ./scripts/feeds install -a
# 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_amneziawg-tools=y" >> .config
echo "CONFIG_PACKAGE_luci-app-amneziawg=y" >> .config
Expand Down

0 comments on commit d613295

Please sign in to comment.