From 0a66ad1f3a047ca9e6d156982353d9a9244c1fca Mon Sep 17 00:00:00 2001 From: remittor Date: Thu, 1 Jan 2026 16:48:14 +0300 Subject: [PATCH] build: Add step "Download sources (dl)" --- .github/workflows/build.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3be475e..5851177 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -179,7 +179,7 @@ jobs: sudo apt-get -qq update #sudo apt-get -qq update && sudo apt-get -qq upgrade sudo apt-get -qq install build-essential gawk flex rsync swig unzip zlib1g-dev file wget - sudo apt-get -qq install libc6-dev clang flex 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 libc6-dev pkg-config sudo apt-get -qq autoremove --purge @@ -291,6 +291,13 @@ jobs: echo "Available storage:" sudo df -h + - name: Download sources (dl) + id: download + if: ${{ steps.configure.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }} + run: | + make -j$(nproc) download + echo "status=success" >> $GITHUB_OUTPUT + - name: Build tools and toolchain id: tools if: ${{ steps.configure.outputs.status == 'success' && github.event.inputs.fake_build != 'true' }} @@ -346,9 +353,9 @@ jobs: fi if [ "$FAKE_BUILD" != "true" ]; then if [ "$TEST_BUILD" != "true" ]; then - make -j$(nproc) download world + make -j$(nproc) world else - make V=sc download world + make V=sc world fi fi # process results