mirror of
https://github.com/Slava-Shchipunov/awg-openwrt.git
synced 2026-03-14 01:13:09 +00:00
WTF?
This commit is contained in:
5
.github/workflows/build-module.yml
vendored
5
.github/workflows/build-module.yml
vendored
@@ -54,7 +54,8 @@ jobs:
|
||||
if: ${{ steps.cache-tools-kernel.outputs.cache-hit != 'true' }}
|
||||
run: |
|
||||
echo "pkgarch: ${{ matrix.build_env.pkgarch}}, target:${{ matrix.build_env.target}}, subtarget: ${{ matrix.build_env.subtarget}}"
|
||||
|
||||
rm -rf ./dl || true
|
||||
rm -rf ./build_dir || true
|
||||
wget https://downloads.openwrt.org/releases/${{ matrix.tag }}/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
|
||||
@@ -66,7 +67,7 @@ jobs:
|
||||
make defconfig
|
||||
|
||||
# will fail, but we need to get vermagic
|
||||
make target/linux/compile -i -j `nproc` || true
|
||||
make target/linux/compile V=s || true
|
||||
|
||||
VERMAGIC=`cat ./build_dir/target-*/linux-*/linux-*/.vermagic`
|
||||
VERMAGIC_EXPECTED=${{ matrix.build_env.vermagic }}
|
||||
|
||||
Reference in New Issue
Block a user