mirror of
https://github.com/Slava-Shchipunov/awg-openwrt.git
synced 2026-03-14 01:13:09 +00:00
luci
This commit is contained in:
24
.github/workflows/build-module.yml
vendored
24
.github/workflows/build-module.yml
vendored
@@ -78,31 +78,11 @@ 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}
|
||||
@@ -123,8 +103,8 @@ jobs:
|
||||
- name: LS Packages
|
||||
run: |
|
||||
rm feeds.conf
|
||||
# ls -al bin/packages/${{ matrix.build_env.pkgarch }}/awgopenwrt
|
||||
# ls -al bin/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/packages/
|
||||
ls -al bin/packages/${{ matrix.build_env.pkgarch }}/awgopenwrt || true
|
||||
ls -al bin/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/packages/ || true
|
||||
|
||||
# - name: Release
|
||||
# uses: softprops/action-gh-release@v1
|
||||
|
||||
Reference in New Issue
Block a user