diff --git a/.github/workflows/build-module.yml b/.github/workflows/build-module.yml index c045e8ab..d14e2b4e 100644 --- a/.github/workflows/build-module.yml +++ b/.github/workflows/build-module.yml @@ -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 }}