cache kernel

This commit is contained in:
Yury Sannikov
2024-01-21 01:23:25 +03:00
parent 7f450fb806
commit 286b92a787
+26 -26
View File
@@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
#tag: ['v23.05.0', 'v23.05.2', 'v22.03.4'] tag: ['v23.05.0', 'v23.05.2', 'v22.03.4']
tag: ['v22.03.4'] #tag: ['v22.03.4']
build_env: build_env:
- pkgarch: mips_24kc - pkgarch: mips_24kc
target: ath79 target: ath79
@@ -101,34 +101,34 @@ jobs:
echo "CONFIG_PACKAGE_luci-app-amneziawg=y" >> .config echo "CONFIG_PACKAGE_luci-app-amneziawg=y" >> .config
make defconfig make defconfig
- name: Build amnezia-wg-tools # - name: Build amnezia-wg-tools
run: | # run: |
make V=s package/amnezia-wg-tools/{clean,download,prepare} # make V=s package/amnezia-wg-tools/{clean,download,prepare}
make V=s package/amnezia-wg-tools/compile # make V=s package/amnezia-wg-tools/compile
- name: Build kmod-amneziawg # - name: Build kmod-amneziawg
run: | # run: |
make package/kmod-amneziawg/{clean,download,prepare} # make package/kmod-amneziawg/{clean,download,prepare}
make package/kmod-amneziawg/compile # make package/kmod-amneziawg/compile
- name: Build luci # - name: Build luci
run: | # run: |
make package/luci-app-amneziawg/{clean,download,prepare} # make package/luci-app-amneziawg/{clean,download,prepare}
make package/luci-app-amneziawg/compile V=s # make package/luci-app-amneziawg/compile V=s
- name: Prepare artifacts # - name: Prepare artifacts
run: | # run: |
tag_name=${{ github.ref_name }} # tag_name=${{ github.ref_name }}
mkdir -p awgrelease # mkdir -p awgrelease
postfix="${tag_name}_${{ matrix.tag }}_${{ matrix.build_env.pkgarch}}_${{ matrix.build_env.target}}_${{ matrix.build_env.subtarget}}" # postfix="${tag_name}_${{ matrix.tag }}_${{ matrix.build_env.pkgarch}}_${{ matrix.build_env.target}}_${{ matrix.build_env.subtarget}}"
cp bin/packages/${{ matrix.build_env.pkgarch }}/awgopenwrt/amnezia-wg-tools_*.ipk awgrelease/amnezia-wg-tools_${postfix}.ipk # cp bin/packages/${{ matrix.build_env.pkgarch }}/awgopenwrt/amnezia-wg-tools_*.ipk awgrelease/amnezia-wg-tools_${postfix}.ipk
cp bin/packages/${{ matrix.build_env.pkgarch }}/awgopenwrt/luci-app-amneziawg_*.ipk awgrelease/luci-app-amneziawg_${postfix}.ipk # cp bin/packages/${{ matrix.build_env.pkgarch }}/awgopenwrt/luci-app-amneziawg_*.ipk awgrelease/luci-app-amneziawg_${postfix}.ipk
cp bin/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/packages/kmod-amneziawg_*.ipk awgrelease/kmod-amneziawg_${postfix}.ipk # cp bin/targets/${{ matrix.build_env.target}}/${{ matrix.build_env.subtarget}}/packages/kmod-amneziawg_*.ipk awgrelease/kmod-amneziawg_${postfix}.ipk
- name: Release # - name: Release
uses: softprops/action-gh-release@v1 # uses: softprops/action-gh-release@v1
with: # with:
files: awgrelease/*.ipk # files: awgrelease/*.ipk
- name: Cleanup - name: Cleanup
run: | run: |