Skip to content

Commit

Permalink
luci
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-sannikov committed Dec 14, 2023
1 parent f9bc1ef commit c4735d3
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/build-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ jobs:
- name: Update feeds
run: |
cat .config
cp feeds.conf.default feeds.conf
echo "src-git awgopenwrt https://github.com/yury-sannikov/awg-openwrt.git" >> ./feeds.conf
Expand All @@ -79,6 +78,31 @@ jobs:
./scripts/feeds update awgopenwrt
./scripts/feeds install -a -p awgopenwrt
pkgarch=${{ matrix.build_env.pkgarch}}
target=${{ matrix.build_env.target}}
subtarget=${{ matrix.build_env.subtarget}}
echo "pkgarch: ${pkgarch}, target: ${target}, subtarget: ${subtarget}"
echo "CONFIG_TARGET_${target}=y" > .config
echo "CONFIG_TARGET_${target}_${subtarget}=y" >> .config
echo "CONFIG_DEFAULT_TARGET_${target}_${subtarget}=y" >> .config
echo "CONFIG_ALL_KMODS=y" >> .config
echo "CONFIG_PACKAGE_kmod-amneziawg=m" >> .config
echo "CONFIG_PACKAGE_amnezia-wg-tools=y" >> .config
echo "CONFIG_PACKAGE_luci-app-amneziawg=y" >> .config
echo "CONFIG_PACKAGE_kmod-crypto-lib-chacha20=m" >> .config
echo "CONFIG_PACKAGE_kmod-crypto-lib-chacha20poly1305=m" >> .config
echo "CONFIG_PACKAGE_kmod-crypto-chacha20poly1305=m" >> .config
make defconfig
cat .config
# - name: Build amnezia-wg-tools
# run: |
# make package/amnezia-wg-tools/{clean,download,prepare}
Expand Down

0 comments on commit c4735d3

Please sign in to comment.