Skip to content

Add android16-6.12 #825

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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
250 changes: 250 additions & 0 deletions .github/workflows/android16-6.12-clang-19.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,250 @@
# DO NOT MODIFY MANUALLY!
# This file has been autogenerated by invoking:
# $ ./generate_workflow.py android16-6.12
name: android16-6.12 (clang-19)
'on':
push:
branches:
- presubmit/*
paths:
- check_logs.py
- utils.py
- tuxsuite/android16-6.12-clang-19.tux.yml
- .github/workflows/android16-6.12-clang-19.yml
schedule:
- cron: 0 6 * * 0
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/android16-6.12 --repo https://android.googlesource.com/kernel/common.git --ref android16-6.12
check_cache:
name: Check Cache
runs-on: ubuntu-latest
container: tuxmake/x86_64_korg-clang-19
needs: check_patches
env:
GIT_REPO: https://android.googlesource.com/kernel/common.git
GIT_REF: android16-6.12
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://android.googlesource.com/kernel/common.git --git-ref android16-6.12 --job-name defconfigs --json-out builds.json tuxsuite/android16-6.12-clang-19.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
_90aa27ccc9509144710b3f10b0040d67:
runs-on: ubuntu-latest
needs:
- kick_tuxsuite_defconfigs
- check_cache
- check_patches
name: ARCH=arm LLVM=1 LLVM_IAS=1 LLVM_VERSION=19 multi_v7_defconfig+CONFIG_THUMB2_KERNEL=y
if: ${{ needs.check_cache.outputs.status != 'pass' }}
env:
ARCH: arm
LLVM_VERSION: 19
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
_427ad04336d3b729e9f06ac390339c83:
runs-on: ubuntu-latest
needs:
- kick_tuxsuite_defconfigs
- check_cache
- check_patches
name: ARCH=arm64 LLVM=1 LLVM_IAS=1 LLVM_VERSION=19 gki_defconfig+CONFIG_DEBUG_INFO_COMPRESSED_ZSTD=n
if: ${{ needs.check_cache.outputs.status != 'pass' }}
env:
ARCH: arm64
LLVM_VERSION: 19
BOOT: 1
CONFIG: gki_defconfig+CONFIG_DEBUG_INFO_COMPRESSED_ZSTD=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
_69be54e07c0c29096e6473be61b248d6:
runs-on: ubuntu-latest
needs:
- kick_tuxsuite_defconfigs
- check_cache
- check_patches
name: ARCH=x86_64 LLVM=1 LLVM_IAS=1 LLVM_VERSION=19 gki_defconfig+CONFIG_DEBUG_INFO_COMPRESSED_ZSTD=n
if: ${{ needs.check_cache.outputs.status != 'pass' }}
env:
ARCH: x86_64
LLVM_VERSION: 19
BOOT: 1
CONFIG: gki_defconfig+CONFIG_DEBUG_INFO_COMPRESSED_ZSTD=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
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://android.googlesource.com/kernel/common.git --git-ref android16-6.12 --job-name allconfigs --json-out builds.json tuxsuite/android16-6.12-clang-19.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
_6f71d19d995dea404a579b62f38088ac:
runs-on: ubuntu-latest
needs:
- kick_tuxsuite_allconfigs
- check_cache
- check_patches
name: ARCH=arm BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=19 allmodconfig+CONFIG_WERROR=n+CONFIG_DRM_WERROR=n
if: ${{ needs.check_cache.outputs.status != 'pass' }}
env:
ARCH: arm
LLVM_VERSION: 19
BOOT: 0
CONFIG: allmodconfig+CONFIG_WERROR=n+CONFIG_DRM_WERROR=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_allconfigs
- uses: actions/download-artifact@v4
with:
name: boot_utils_json_allconfigs
- name: Check Build and Boot Logs
run: scripts/check-logs.py

Loading