build: Enable use_cache by default

This commit is contained in:
remittor
2026-01-04 12:04:05 +03:00
parent ca4573f31f
commit 1aa0b402c5

View File

@@ -6,7 +6,7 @@ on:
use_cache: use_cache:
description: 'Restore cache for host tools' description: 'Restore cache for host tools'
required: true required: true
default: 'false' default: 'true'
type: choice type: choice
options: options:
- true - true
@@ -176,7 +176,7 @@ jobs:
sudo apt-get -qq install build-essential gawk flex rsync swig unzip zlib1g-dev file wget sudo apt-get -qq install build-essential gawk flex rsync swig unzip zlib1g-dev file wget
sudo apt-get -qq install libc6-dev clang bison g++ gcc-multilib g++-multilib sudo apt-get -qq install libc6-dev clang bison g++ gcc-multilib g++-multilib
sudo apt-get -qq install gettext git libncurses5-dev libssl-dev python3-setuptools sudo apt-get -qq install gettext git libncurses5-dev libssl-dev python3-setuptools
sudo apt-get -qq install libc6-dev pkg-config sudo apt-get -qq install libc6-dev pkg-config squashfs-tools
sudo apt-get -qq autoremove --purge sudo apt-get -qq autoremove --purge
sudo apt-get -qq clean sudo apt-get -qq clean
sudo timedatectl set-timezone "$TZ" sudo timedatectl set-timezone "$TZ"
@@ -388,21 +388,6 @@ jobs:
make target/linux/compile -j$(nproc) make target/linux/compile -j$(nproc)
echo "status=success" >> $GITHUB_OUTPUT echo "status=success" >> $GITHUB_OUTPUT
- name: <<< TEST compile >>>
if: false # ${{ steps.kernel.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }}
run: |
make buildinfo
echo "====== package/utils/lua/host/compile"
make package/utils/lua/host/compile
echo "====== package/system/apk/host/compile"
make package/system/apk/host/compile
cp -f .config logs/config3
echo "====== package/feeds/packages/mdio-netlink"
make package/feeds/packages/mdio-netlink/compile V=sc
# exit 78
# make package/feeds/packages/mdio-netlink/compile V=s --debug=j
# make package/feeds/packages/mdio-netlink/compile V=sc
- name: Monitor memory 2 - name: Monitor memory 2
run: | run: |
echo "Memory and swap:" echo "Memory and swap:"
@@ -554,7 +539,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAG: ${{ needs.check.outputs.tag }} TAG: ${{ needs.check.outputs.tag }}
with: with:
prerelease: ${{ env.TEST_BUILD == 'true' || env.FAKE_BUILD == 'true' }} prerelease: true
tag_name: ${{ needs.check.outputs.tag }}${{ env.TAG_SUFFIX }} tag_name: ${{ needs.check.outputs.tag }}${{ env.TAG_SUFFIX }}
name: '${{ needs.check.outputs.tag }}' name: '${{ needs.check.outputs.tag }}'
body: | body: |