5.4 (clang-18) #171
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # DO NOT MODIFY MANUALLY! | |
| # This file has been autogenerated by invoking: | |
| # $ ./generate_workflow.py 5.4 | |
| name: 5.4 (clang-18) | |
| 'on': | |
| push: | |
| branches: | |
| - presubmit/* | |
| paths: | |
| - check_logs.py | |
| - utils.py | |
| - tuxsuite/5.4-clang-18.tux.yml | |
| - .github/workflows/5.4-clang-18.yml | |
| schedule: | |
| - cron: 0 21 * * 6 | |
| workflow_dispatch: null | |
| permissions: read-all | |
| jobs: | |
| check_patches: | |
| name: Check that patches are applicable | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: check-patches-apply.py | |
| run: python3 scripts/check-patches-apply.py --patches-dir patches/5.4 --repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --ref linux-5.4.y | |
| check_cache: | |
| name: Check Cache | |
| runs-on: ubuntu-latest | |
| container: tuxmake/x86_64_korg-clang-18 | |
| needs: check_patches | |
| env: | |
| GIT_REPO: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git | |
| GIT_REF: linux-5.4.y | |
| outputs: | |
| output: ${{ steps.step2.outputs.output }} | |
| status: ${{ steps.step2.outputs.status }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: pip install -r requirements.txt | |
| run: apt-get update && apt-get install -y python3-venv && python3 -m venv venv && . venv/bin/activate && pip install -r requirements.txt | |
| - name: python check_cache.py | |
| id: step1 | |
| continue-on-error: true | |
| run: . venv/bin/activate && python caching/check.py -w '${{ github.workflow }}' -g ${{ secrets.REPO_SCOPED_PAT }} -r ${{ env.GIT_REF }} -o ${{ env.GIT_REPO }} | |
| - name: Save exit code to GITHUB_OUTPUT | |
| id: step2 | |
| run: echo "output=${{ steps.step1.outcome }}" >> "$GITHUB_OUTPUT" && echo "status=$CACHE_PASS" >> "$GITHUB_OUTPUT" | |
| kick_tuxsuite_defconfigs: | |
| name: TuxSuite (defconfigs) | |
| runs-on: ubuntu-latest | |
| container: tuxsuite/tuxsuite | |
| needs: | |
| - check_cache | |
| - check_patches | |
| env: | |
| TUXSUITE_TOKEN: ${{ secrets.TUXSUITE_TOKEN }} | |
| REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }} | |
| timeout-minutes: 480 | |
| steps: | |
| - name: Checking Cache Pass | |
| if: ${{ needs.check_cache.outputs.output == 'success' && github.event_name != 'workflow_dispatch' && needs.check_cache.outputs.status == 'pass' }} | |
| run: echo 'Cache HIT on previously PASSED build. Passing this build to avoid redundant work.' && exit 0 | |
| - name: Checking Cache Fail | |
| if: ${{ needs.check_cache.outputs.output == 'success' && github.event_name != 'workflow_dispatch' && needs.check_cache.outputs.status == 'fail' }} | |
| run: echo 'Cache HIT on previously FAILED build. Failing this build to avoid redundant work.' && exit 1 | |
| - uses: actions/checkout@v4 | |
| if: ${{ needs.check_cache.outputs.output == 'failure' || github.event_name == 'workflow_dispatch' }} | |
| - name: tuxsuite | |
| if: ${{ needs.check_cache.outputs.output == 'failure' || github.event_name == 'workflow_dispatch' }} | |
| run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-5.4.y --job-name defconfigs --json-out builds.json tuxsuite/5.4-clang-18.tux.yml || true | |
| - name: Update Cache Build Status | |
| if: ${{ needs.check_cache.outputs.output == 'failure' || github.event_name == 'workflow_dispatch' }} | |
| run: python caching/update.py | |
| - name: save builds.json | |
| if: ${{ needs.check_cache.outputs.output == 'failure' || github.event_name == 'workflow_dispatch' }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: builds.json | |
| name: output_artifact_defconfigs | |
| if-no-files-found: error | |
| - name: generate boot-utils.json | |
| if: ${{ needs.check_cache.outputs.output == 'failure' || github.event_name == 'workflow_dispatch' }} | |
| run: python3 scripts/generate-boot-utils-json.py ${{ secrets.GITHUB_TOKEN }} | |
| - name: save boot-utils.json | |
| if: ${{ needs.check_cache.outputs.output == 'failure' || github.event_name == 'workflow_dispatch' }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: boot-utils.json | |
| name: boot_utils_json_defconfigs | |
| if-no-files-found: error | |
| _07f5461b863c3195368e0be7eaec9f8b: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=arm LLVM=1 LLVM_IAS=0 LLVM_VERSION=18 multi_v7_defconfig | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: arm | |
| LLVM_VERSION: 18 | |
| BOOT: 1 | |
| CONFIG: multi_v7_defconfig | |
| REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }} | |
| container: | |
| image: ghcr.io/clangbuiltlinux/qemu | |
| options: --ipc=host | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: output_artifact_defconfigs | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: boot_utils_json_defconfigs | |
| - name: Check Build and Boot Logs | |
| run: scripts/check-logs.py | |
| _95247835b22c7091313c784beea5d997: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=arm LLVM=1 LLVM_IAS=0 LLVM_VERSION=18 multi_v7_defconfig+CONFIG_THUMB2_KERNEL=y | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: arm | |
| LLVM_VERSION: 18 | |
| BOOT: 1 | |
| CONFIG: multi_v7_defconfig+CONFIG_THUMB2_KERNEL=y | |
| REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }} | |
| container: | |
| image: ghcr.io/clangbuiltlinux/qemu | |
| options: --ipc=host | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: output_artifact_defconfigs | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: boot_utils_json_defconfigs | |
| - name: Check Build and Boot Logs | |
| run: scripts/check-logs.py | |
| _2d6d24bc34027d07f1a6dd22643dd4db: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=arm64 LLVM=1 LLVM_IAS=1 LLVM_VERSION=18 defconfig+CONFIG_COMPAT_VDSO=n | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: arm64 | |
| LLVM_VERSION: 18 | |
| BOOT: 1 | |
| CONFIG: defconfig+CONFIG_COMPAT_VDSO=n | |
| REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }} | |
| container: | |
| image: ghcr.io/clangbuiltlinux/qemu | |
| options: --ipc=host | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: output_artifact_defconfigs | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: boot_utils_json_defconfigs | |
| - name: Check Build and Boot Logs | |
| run: scripts/check-logs.py | |
| _7831b51d6765e6fe9bdb5ecdbd40bcd5: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=arm64 LLVM=1 LLVM_IAS=1 LLVM_VERSION=18 defconfig+CONFIG_CPU_BIG_ENDIAN=y | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: arm64 | |
| LLVM_VERSION: 18 | |
| BOOT: 1 | |
| CONFIG: defconfig+CONFIG_CPU_BIG_ENDIAN=y | |
| REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }} | |
| container: | |
| image: ghcr.io/clangbuiltlinux/qemu | |
| options: --ipc=host | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: output_artifact_defconfigs | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: boot_utils_json_defconfigs | |
| - name: Check Build and Boot Logs | |
| run: scripts/check-logs.py | |
| _70f2a19fad557147f841f1991034e711: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=mips LLVM=1 LLVM_IAS=0 LLVM_VERSION=18 malta_defconfig+CONFIG_BLK_DEV_INITRD=y+CONFIG_CPU_BIG_ENDIAN=y | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: mips | |
| LLVM_VERSION: 18 | |
| BOOT: 1 | |
| CONFIG: malta_defconfig+CONFIG_BLK_DEV_INITRD=y+CONFIG_CPU_BIG_ENDIAN=y | |
| REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }} | |
| container: | |
| image: ghcr.io/clangbuiltlinux/qemu | |
| options: --ipc=host | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: output_artifact_defconfigs | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: boot_utils_json_defconfigs | |
| - name: Check Build and Boot Logs | |
| run: scripts/check-logs.py | |
| _b496a5c66e6d4fb554e2db1bb535be53: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=mips LLVM=1 LLVM_IAS=0 LLVM_VERSION=18 malta_defconfig+CONFIG_BLK_DEV_INITRD=y | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: mips | |
| LLVM_VERSION: 18 | |
| BOOT: 1 | |
| CONFIG: malta_defconfig+CONFIG_BLK_DEV_INITRD=y | |
| REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }} | |
| container: | |
| image: ghcr.io/clangbuiltlinux/qemu | |
| options: --ipc=host | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: output_artifact_defconfigs | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: boot_utils_json_defconfigs | |
| - name: Check Build and Boot Logs | |
| run: scripts/check-logs.py | |
| _bc2bba98bbef0fd32c21c24c5642289d: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=powerpc LLVM=1 LLVM_IAS=0 LLVM_VERSION=18 ppc44x_defconfig | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: powerpc | |
| LLVM_VERSION: 18 | |
| BOOT: 1 | |
| CONFIG: ppc44x_defconfig | |
| REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }} | |
| container: | |
| image: ghcr.io/clangbuiltlinux/qemu | |
| options: --ipc=host | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: output_artifact_defconfigs | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: boot_utils_json_defconfigs | |
| - name: Check Build and Boot Logs | |
| run: scripts/check-logs.py | |
| _d6d581bf38ec6350fafef71559776702: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=powerpc LLVM=1 LD=powerpc64le-linux-gnu-ld LLVM_IAS=0 LLVM_VERSION=18 ppc64_guest_defconfig | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: powerpc | |
| LLVM_VERSION: 18 | |
| BOOT: 1 | |
| CONFIG: ppc64_guest_defconfig | |
| REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }} | |
| container: | |
| image: ghcr.io/clangbuiltlinux/qemu | |
| options: --ipc=host | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: output_artifact_defconfigs | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: boot_utils_json_defconfigs | |
| - name: Check Build and Boot Logs | |
| run: scripts/check-logs.py | |
| _0b6273852d0867169811d14c1a2370bf: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=powerpc LLVM=1 LLVM_IAS=0 LLVM_VERSION=18 powernv_defconfig | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: powerpc | |
| LLVM_VERSION: 18 | |
| BOOT: 1 | |
| CONFIG: powernv_defconfig | |
| REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }} | |
| container: | |
| image: ghcr.io/clangbuiltlinux/qemu | |
| options: --ipc=host | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: output_artifact_defconfigs | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: boot_utils_json_defconfigs | |
| - name: Check Build and Boot Logs | |
| run: scripts/check-logs.py | |
| _58acb74ca4b392e656707f556dad3a47: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=x86_64 LLVM=1 LLVM_IAS=1 LLVM_VERSION=18 defconfig | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: x86_64 | |
| LLVM_VERSION: 18 | |
| BOOT: 1 | |
| CONFIG: defconfig | |
| REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }} | |
| container: | |
| image: ghcr.io/clangbuiltlinux/qemu | |
| options: --ipc=host | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: output_artifact_defconfigs | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: boot_utils_json_defconfigs | |
| - name: Check Build and Boot Logs | |
| run: scripts/check-logs.py | |
| kick_tuxsuite_allconfigs: | |
| name: TuxSuite (allconfigs) | |
| runs-on: ubuntu-latest | |
| container: tuxsuite/tuxsuite | |
| needs: | |
| - check_cache | |
| - check_patches | |
| env: | |
| TUXSUITE_TOKEN: ${{ secrets.TUXSUITE_TOKEN }} | |
| REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }} | |
| timeout-minutes: 480 | |
| steps: | |
| - name: Checking Cache Pass | |
| if: ${{ needs.check_cache.outputs.output == 'success' && github.event_name != 'workflow_dispatch' && needs.check_cache.outputs.status == 'pass' }} | |
| run: echo 'Cache HIT on previously PASSED build. Passing this build to avoid redundant work.' && exit 0 | |
| - name: Checking Cache Fail | |
| if: ${{ needs.check_cache.outputs.output == 'success' && github.event_name != 'workflow_dispatch' && needs.check_cache.outputs.status == 'fail' }} | |
| run: echo 'Cache HIT on previously FAILED build. Failing this build to avoid redundant work.' && exit 1 | |
| - uses: actions/checkout@v4 | |
| if: ${{ needs.check_cache.outputs.output == 'failure' || github.event_name == 'workflow_dispatch' }} | |
| - name: tuxsuite | |
| if: ${{ needs.check_cache.outputs.output == 'failure' || github.event_name == 'workflow_dispatch' }} | |
| run: tuxsuite plan --git-repo https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git --git-ref linux-5.4.y --job-name allconfigs --json-out builds.json tuxsuite/5.4-clang-18.tux.yml || true | |
| - name: Update Cache Build Status | |
| if: ${{ needs.check_cache.outputs.output == 'failure' || github.event_name == 'workflow_dispatch' }} | |
| run: python caching/update.py | |
| - name: save builds.json | |
| if: ${{ needs.check_cache.outputs.output == 'failure' || github.event_name == 'workflow_dispatch' }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: builds.json | |
| name: output_artifact_allconfigs | |
| if-no-files-found: error | |
| - name: generate boot-utils.json | |
| if: ${{ needs.check_cache.outputs.output == 'failure' || github.event_name == 'workflow_dispatch' }} | |
| run: python3 scripts/generate-boot-utils-json.py ${{ secrets.GITHUB_TOKEN }} | |
| - name: save boot-utils.json | |
| if: ${{ needs.check_cache.outputs.output == 'failure' || github.event_name == 'workflow_dispatch' }} | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: boot-utils.json | |
| name: boot_utils_json_allconfigs | |
| if-no-files-found: error | |
| _023bdb66eac2efb5decd45b88317a7bd: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_allconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=x86_64 BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=18 allmodconfig | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: x86_64 | |
| LLVM_VERSION: 18 | |
| BOOT: 0 | |
| CONFIG: allmodconfig | |
| REPO_SCOPED_PAT: ${{ secrets.REPO_SCOPED_PAT }} | |
| container: | |
| image: ghcr.io/clangbuiltlinux/qemu | |
| options: --ipc=host | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: output_artifact_allconfigs | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: boot_utils_json_allconfigs | |
| - name: Check Build and Boot Logs | |
| run: scripts/check-logs.py | |