Skip to content

Commit

Permalink
rebuild cache
Browse files Browse the repository at this point in the history
  • Loading branch information
yury-sannikov committed Dec 14, 2023
1 parent 9bba27f commit 0f5417f
Showing 1 changed file with 37 additions and 36 deletions.
73 changes: 37 additions & 36 deletions .github/workflows/build-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
path: .
key: ${{ runner.os }}-build-${{ env.cache-name }}
restore-keys: |
${{ runner.os }}-build-cache-tools-kernel-${{ matrix.tag }}-${{ matrix.build_env.pkgarch}}-
${{ runner.os }}-build-cache-tools-kernel-${{ matrix.tag }}-
${{ runner.os }}-build-
- name: Building kernel and tools
Expand All @@ -49,6 +51,9 @@ jobs:
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
Expand All @@ -63,53 +68,49 @@ jobs:
echo " > make target/linux/compile"
make target/linux/compile V=s
- name: Update feeds
run: |
# - name: Update feeds
# run: |
# cp feeds.conf.default feeds.conf
# echo "src-git awgopenwrt https://github.com/yury-sannikov/awg-openwrt.git" >> ./feeds.conf

# fixing feed
echo "src-git packages https://git.openwrt.org/feed/packages.git^0da9f622975aa1e4efe452da4acbae15479bee63" > ./feeds.conf.default
echo "src-git luci https://git.openwrt.org/project/luci.git^257f54cb8bcd493d9be0a45a3c316668b793e8ae" >> ./feeds.conf.default
echo "src-git routing https://git.openwrt.org/feed/routing.git^2272106e0839ee06957e88e3596489e1b510d3c2" >> ./feeds.conf.default
echo "src-git telephony https://git.openwrt.org/feed/telephony.git^9746ae8f964e18f04b64fbe1956366954ff223f8" >> ./feeds.conf.default
echo "src-git awgopenwrt https://github.com/yury-sannikov/awg-openwrt.git" >> ./feeds.conf.default
# ./scripts/feeds update luci
# ./scripts/feeds install -a -p luci
# ./scripts/feeds update awgopenwrt
# ./scripts/feeds install -a -p awgopenwrt

./scripts/feeds update luci
./scripts/feeds install -a -p luci
./scripts/feeds update awgopenwrt
./scripts/feeds install -a -p awgopenwrt
# echo "CONFIG_PACKAGE_amnezia-wg-tools=y" >> .config
# echo "CONFIG_PACKAGE_luci-app-amneziawg=y" >> .config
# make defconfig

echo "CONFIG_PACKAGE_amnezia-wg-tools=y" >> .config
echo "CONFIG_PACKAGE_luci-app-amneziawg=y" >> .config
make defconfig
# # - name: Build amnezia-wg-tools
# # run: |
# # make package/amnezia-wg-tools/{clean,download,prepare}
# # make package/amnezia-wg-tools/compile

# - name: Build amnezia-wg-tools
# run: |
# make package/amnezia-wg-tools/{clean,download,prepare}
# make package/amnezia-wg-tools/compile
# # - name: Build kmod-amneziawg
# # run: |
# # make package/kmod-amneziawg/{clean,download,prepare}
# # make package/kmod-amneziawg/compile

# - name: Build kmod-amneziawg
# - name: Build luci
# run: |
# make package/kmod-amneziawg/{clean,download,prepare}
# make package/kmod-amneziawg/compile
# cat .config | grep luci-app-amneziawg || true

- name: Build luci
run: |
cat .config | grep luci-app-amneziawg || true
# echo "CONFIG_PACKAGE_luci-app-amneziawg=y" >> .config
# make defconfig

echo "CONFIG_PACKAGE_luci-app-amneziawg=y" >> .config
make defconfig
# cat .config

cat .config
# rm -rf ./build_dir/target-mipsel_24kc_musl/luci-app-amneziawg

rm -rf ./build_dir/target-mipsel_24kc_musl/luci-app-amneziawg
# make package/luci-app-amneziawg/{clean,download,prepare}
# make package/luci-app-amneziawg/compile V=s

make package/luci-app-amneziawg/{clean,download,prepare}
make package/luci-app-amneziawg/compile V=s
- name: LS Packages
run: |
ls -al bin/packages/${{ matrix.build_env.pkgarch }}/awgopenwrt
ls -al bin/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/packages/
# - 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/

# - name: Release
# uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 0f5417f

Please sign in to comment.