Skip to content

Commit

Permalink
WTF?
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-sannikov committed Feb 20, 2024
1 parent a8368c6 commit 554a0e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 554a0e4

Please sign in to comment.