From edcaf06ab39a4358b418de298fc1cea54e7e7b5e Mon Sep 17 00:00:00 2001 From: MaxHearnden Date: Sat, 14 Sep 2024 17:09:49 +0100 Subject: [PATCH] remove wrap.yml --- .github/workflows/wrap.yml | 153 ------------------------------------- 1 file changed, 153 deletions(-) delete mode 100644 .github/workflows/wrap.yml diff --git a/.github/workflows/wrap.yml b/.github/workflows/wrap.yml deleted file mode 100644 index 91f71c69..00000000 --- a/.github/workflows/wrap.yml +++ /dev/null @@ -1,153 +0,0 @@ -# SPDX-FileCopyrightText: 2023 fosslinux -# SPDX-FileCopyrightText: 2024 Max Hearnden -# -# SPDX-License-Identifier: GPL-3.0-or-later - -name: Run under wrap - -on: - workflow_dispatch: - pull_request: - push: - branches: - - master - -jobs: - pass1: - name: Run up to Linux build under wrap - runs-on: ubuntu-latest - steps: - - name: Checkout repo - uses: actions/checkout@v3 - with: - submodules: recursive - # There is a strange bug(?) in nongnu, when you clone a git repository - # against a commit != HEAD with depth=1, it errors out. - fetch-depth: 0 - - name: Query cache for sources - id: cache - uses: actions/cache/restore@v3 - with: - path: | - distfiles - key: cache-${{ hashFiles('steps/*/sources') }} - - name: Get sources - if: steps.cache.outputs.cache-hit != 'true' - run: ./download-distfiles.sh - - name: Cache sources - if: steps.cache.outputs.cache-hit != 'true' - uses: actions/cache/save@v3 - with: - path: | - distfiles - key: cache-${{ hashFiles('steps/*/sources') }} - - name: Run bootstrap - run: ./rootfs.py --wrap --external-sources --build-kernels --cores 2 --internal-ci pass1 - - name: Archive created packages - if: failure() # archive failed builds progress - uses: actions/upload-artifact@v3 - with: - name: packages - path: target/external/repo/** - - name: Tar pass1 image - run: tar -cf pass1_image.tar target - - name: Archive pass1_image - uses: actions/upload-artifact@v3 - with: - name: internal_pass1_image - path: pass1_image.tar - - pass2: - name: Run up to Python bootstrap under wrap - needs: pass1 - runs-on: ubuntu-latest - steps: - - name: Checkout repo - uses: actions/checkout@v3 - with: - submodules: recursive - # There is a strange bug(?) in nongnu, when you clone a git repository - # against a commit != HEAD with depth=1, it errors out. - fetch-depth: 0 - - name: Get pass1_image - uses: actions/download-artifact@v3 - with: - name: internal_pass1_image - - name: Extract pass1_image - run: tar -xf pass1_image.tar - - name: Query cache for sources - id: cache - uses: actions/cache/restore@v3 - with: - path: | - distfiles - key: cache-${{ hashFiles('steps/*/sources') }} - - name: Get sources - if: steps.cache.outputs.cache-hit != 'true' - run: ./download-distfiles.sh - - name: Cache sources - if: steps.cache.outputs.cache-hit != 'true' - uses: actions/cache/save@v3 - with: - path: | - distfiles - key: cache-${{ hashFiles('steps/*/sources') }} - - name: Run bootstrap - run: ./rootfs.py --wrap --external-sources --build-kernels --cores 2 --internal-ci pass2 - - name: Archive created packages - if: failure() # archive failed builds progress - uses: actions/upload-artifact@v3 - with: - name: internal_packages_pass2 - path: target/external/repo/** - - name: Tar pass2 image - run: tar -cf pass2_image.tar target - - name: Archive pass2_image - uses: actions/upload-artifact@v3 - with: - name: internal_pass2_image - path: pass2_image.tar - - pass3: - name: Run remaining builds under wrap - needs: pass2 - runs-on: ubuntu-latest - steps: - - name: Checkout repo - uses: actions/checkout@v3 - with: - submodules: recursive - # There is a strange bug(?) in nongnu, when you clone a git repository - # against a commit != HEAD with depth=1, it errors out. - fetch-depth: 0 - - name: Get pass2_image - uses: actions/download-artifact@v3 - with: - name: internal_pass2_image - - name: Extract pass2_image - run: tar -xf pass2_image.tar - - name: Query cache for sources - id: cache - uses: actions/cache/restore@v3 - with: - path: | - distfiles - key: cache-${{ hashFiles('steps/*/sources') }} - - name: Get sources - if: steps.cache.outputs.cache-hit != 'true' - run: ./download-distfiles.sh - - name: Cache sources - if: steps.cache.outputs.cache-hit != 'true' - uses: actions/cache/save@v3 - with: - path: | - distfiles - key: cache-${{ hashFiles('steps/*/sources') }} - - name: Run bootstrap - run: ./rootfs.py --wrap --external-sources --build-kernels --cores 2 --internal-ci pass3 - - name: Archive created packages - if: always() # archive both failed and successful builds - uses: actions/upload-artifact@v3 - with: - name: packages - path: target/external/repo/**