5.4 (clang-22) #19
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-22) | |
| 'on': | |
| push: | |
| branches: | |
| - presubmit/* | |
| paths: | |
| - check_logs.py | |
| - utils.py | |
| - tuxsuite/5.4-clang-22.tux.yml | |
| - .github/workflows/5.4-clang-22.yml | |
| schedule: | |
| - cron: 0 15 * * 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_clang-nightly | |
| 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-22.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 | |
| _373d27817f9588440a633b75b3f7defc: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=arm LLVM=1 LLVM_IAS=0 LLVM_VERSION=22 multi_v7_defconfig | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: arm | |
| LLVM_VERSION: 22 | |
| 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 | |
| _eab6195f57df69e7bce20a4a35ba1a1c: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=arm LLVM=1 LLVM_IAS=0 LLVM_VERSION=22 multi_v7_defconfig+CONFIG_THUMB2_KERNEL=y | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: arm | |
| LLVM_VERSION: 22 | |
| 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 | |
| _d5a99b1f3408a2a49f6ba489a68e7488: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=arm64 LLVM=1 LLVM_IAS=1 LLVM_VERSION=22 defconfig+CONFIG_COMPAT_VDSO=n | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: arm64 | |
| LLVM_VERSION: 22 | |
| 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 | |
| _82a07d5128bea43b084417cd50a995e0: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=arm64 LLVM=1 LLVM_IAS=1 LLVM_VERSION=22 defconfig+CONFIG_CPU_BIG_ENDIAN=y | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: arm64 | |
| LLVM_VERSION: 22 | |
| 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 | |
| _21d81208318eedaf0c0b4e4226e21478: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=mips LLVM=1 LLVM_IAS=0 LLVM_VERSION=22 malta_defconfig+CONFIG_BLK_DEV_INITRD=y+CONFIG_CPU_BIG_ENDIAN=y | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: mips | |
| LLVM_VERSION: 22 | |
| 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 | |
| _747e0127cbd138724b5ca4efc3ff9ced: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=mips LLVM=1 LLVM_IAS=0 LLVM_VERSION=22 malta_defconfig+CONFIG_BLK_DEV_INITRD=y | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: mips | |
| LLVM_VERSION: 22 | |
| 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 | |
| _67e4a37d11d5f9f2d39c901d3c99ac90: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=powerpc LLVM=1 LLVM_IAS=0 LLVM_VERSION=22 ppc44x_defconfig | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: powerpc | |
| LLVM_VERSION: 22 | |
| 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 | |
| _2a4b845fe4c299bf369830c42b203153: | |
| 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=22 ppc64_guest_defconfig | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: powerpc | |
| LLVM_VERSION: 22 | |
| 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 | |
| _ab0bab15d9fc687d0802fee606e4a5a0: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=powerpc LLVM=1 LLVM_IAS=0 LLVM_VERSION=22 powernv_defconfig | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: powerpc | |
| LLVM_VERSION: 22 | |
| 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 | |
| _272b2a386f01695d8425a6c7654f2005: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - kick_tuxsuite_defconfigs | |
| - check_cache | |
| - check_patches | |
| name: ARCH=x86_64 LLVM=1 LLVM_IAS=1 LLVM_VERSION=22 defconfig | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: x86_64 | |
| LLVM_VERSION: 22 | |
| 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-22.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 | |
| _3b945c6e098f70530e63ea88b7e27d1b: | |
| 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=22 allmodconfig | |
| if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
| env: | |
| ARCH: x86_64 | |
| LLVM_VERSION: 22 | |
| 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 | |