arm64 (clang-17) #457
This file contains 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 arm64 | |
name: arm64 (clang-17) | |
'on': | |
push: | |
branches: | |
- presubmit/* | |
paths: | |
- check_logs.py | |
- utils.py | |
- tuxsuite/arm64-clang-17.tux.yml | |
- .github/workflows/arm64-clang-17.yml | |
schedule: | |
- cron: 0 18 * * 1,2,3,4,5 | |
workflow_dispatch: null | |
permissions: read-all | |
jobs: | |
check_cache: | |
name: Check Cache | |
runs-on: ubuntu-latest | |
container: tuxmake/x86_64_korg-clang-17 | |
env: | |
GIT_REPO: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git | |
GIT_REF: for-next/core | |
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-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 | |
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/arm64/linux.git --git-ref for-next/core --job-name defconfigs --json-out builds.json tuxsuite/arm64-clang-17.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 | |
_1314dd948735374f78a2b0fc9c7af6bf: | |
runs-on: ubuntu-latest | |
needs: | |
- kick_tuxsuite_defconfigs | |
- check_cache | |
name: ARCH=arm64 LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 defconfig | |
if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
env: | |
ARCH: arm64 | |
LLVM_VERSION: 17 | |
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 | |
_cf579091969096119c5e3b06eee6268e: | |
runs-on: ubuntu-latest | |
needs: | |
- kick_tuxsuite_defconfigs | |
- check_cache | |
name: ARCH=arm64 LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 defconfig+CONFIG_CPU_BIG_ENDIAN=y | |
if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
env: | |
ARCH: arm64 | |
LLVM_VERSION: 17 | |
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 | |
kick_tuxsuite_allconfigs: | |
name: TuxSuite (allconfigs) | |
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/arm64/linux.git --git-ref for-next/core --job-name allconfigs --json-out builds.json tuxsuite/arm64-clang-17.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 | |
_5843fc1fa647bf9ece56e28cd305a66b: | |
runs-on: ubuntu-latest | |
needs: | |
- kick_tuxsuite_allconfigs | |
- check_cache | |
name: ARCH=arm64 BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 allmodconfig | |
if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
env: | |
ARCH: arm64 | |
LLVM_VERSION: 17 | |
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 | |
_e2c32cfc6c0e896d08a1d2f7875874df: | |
runs-on: ubuntu-latest | |
needs: | |
- kick_tuxsuite_allconfigs | |
- check_cache | |
name: ARCH=arm64 BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 allnoconfig | |
if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
env: | |
ARCH: arm64 | |
LLVM_VERSION: 17 | |
BOOT: 0 | |
CONFIG: allnoconfig | |
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 | |
_c40d20857b140e8a8aa1b212b581e5ce: | |
runs-on: ubuntu-latest | |
needs: | |
- kick_tuxsuite_allconfigs | |
- check_cache | |
name: ARCH=arm64 BOOT=0 LLVM=1 LLVM_IAS=1 LLVM_VERSION=17 allyesconfig | |
if: ${{ needs.check_cache.outputs.status != 'pass' }} | |
env: | |
ARCH: arm64 | |
LLVM_VERSION: 17 | |
BOOT: 0 | |
CONFIG: allyesconfig | |
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 | |