WTF?
This commit is contained in:
@@ -54,7 +54,8 @@ jobs:
|
|||||||
if: ${{ steps.cache-tools-kernel.outputs.cache-hit != 'true' }}
|
if: ${{ steps.cache-tools-kernel.outputs.cache-hit != 'true' }}
|
||||||
run: |
|
run: |
|
||||||
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}}"
|
||||||
|
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
|
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_kmod-amneziawg=m" >> .config
|
||||||
echo "CONFIG_PACKAGE_amneziawg-tools=y" >> .config
|
echo "CONFIG_PACKAGE_amneziawg-tools=y" >> .config
|
||||||
@@ -66,7 +67,7 @@ jobs:
|
|||||||
make defconfig
|
make defconfig
|
||||||
|
|
||||||
# will fail, but we need to get vermagic
|
# 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=`cat ./build_dir/target-*/linux-*/linux-*/.vermagic`
|
||||||
VERMAGIC_EXPECTED=${{ matrix.build_env.vermagic }}
|
VERMAGIC_EXPECTED=${{ matrix.build_env.vermagic }}
|
||||||
|
|||||||
Reference in New Issue
Block a user