Skip to content

Add LLVM 18 builds #704

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/4.19-clang-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name: 4.19 (clang-17)
- tuxsuite/4.19-clang-17.tux.yml
- .github/workflows/4.19-clang-17.yml
schedule:
- cron: 0 12 * * 1,5
- cron: 0 0 * * 3
workflow_dispatch: null
permissions: read-all
jobs:
Expand Down
249 changes: 249 additions & 0 deletions .github/workflows/4.19-clang-18.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,249 @@
# DO NOT MODIFY MANUALLY!
# This file has been autogenerated by invoking:
# $ ./generate_workflow.py 4.19
name: 4.19 (clang-18)
'on':
push:
branches:
- presubmit/*
paths:
- check_logs.py
- utils.py
- tuxsuite/4.19-clang-18.tux.yml
- .github/workflows/4.19-clang-18.yml
schedule:
- cron: 0 12 * * 1,5
workflow_dispatch: null
permissions: read-all
jobs:
check_cache:
name: Check Cache
runs-on: ubuntu-latest
container: tuxmake/x86_64_clang-18
env:
GIT_REPO: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
GIT_REF: linux-4.19.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 install -y python3-pip && pip install -r requirements.txt
- name: python check_cache.py
id: step1
continue-on-error: true
run: 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
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-4.19.y --job-name defconfigs --json-out builds.json tuxsuite/4.19-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
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
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
_76727974b1ffb8192a43932612957712:
runs-on: ubuntu-latest
needs:
- kick_tuxsuite_defconfigs
- check_cache
name: ARCH=arm64 LLVM=1 LLVM_IAS=0 LLVM_VERSION=18 defconfig
if: ${{ needs.check_cache.outputs.status != 'pass' }}
env:
ARCH: arm64
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
_386a8092e180fb2c019584d1757d3324:
runs-on: ubuntu-latest
needs:
- kick_tuxsuite_defconfigs
- check_cache
name: ARCH=arm64 LLVM=1 LLVM_IAS=0 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
_e8f1dc07d922e8dc6562f0e4ba26f4aa:
runs-on: ubuntu-latest
needs:
- kick_tuxsuite_defconfigs
- check_cache
name: ARCH=powerpc CC=clang 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
_fd1ca6953bfcef7ff0cd3dc294e67467:
runs-on: ubuntu-latest
needs:
- kick_tuxsuite_defconfigs
- check_cache
name: ARCH=x86_64 LLVM=1 LLVM_IAS=0 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

2 changes: 1 addition & 1 deletion .github/workflows/5.10-clang-17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name: 5.10 (clang-17)
- tuxsuite/5.10-clang-17.tux.yml
- .github/workflows/5.10-clang-17.yml
schedule:
- cron: 0 12 * * 1,5
- cron: 0 18 * * 3
workflow_dispatch: null
permissions: read-all
jobs:
Expand Down
Loading