-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[Github] Drop llvm-project-tests #153877
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
boomanaiden154
merged 12 commits into
main
from
users/boomanaiden154/github-drop-llvm-project-tests
Aug 18, 2025
Merged
[Github] Drop llvm-project-tests #153877
boomanaiden154
merged 12 commits into
main
from
users/boomanaiden154/github-drop-llvm-project-tests
Aug 18, 2025
Conversation
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
Created using spr 1.3.6 [skip ci]
Created using spr 1.3.6
Member
|
@llvm/pr-subscribers-github-workflow Author: Aiden Grossman (boomanaiden154) ChangesAll users of this have been claned up so we can now drop it fully. Full diff: https://github.com/llvm/llvm-project/pull/153877.diff 2 Files Affected:
diff --git a/.github/workflows/llvm-project-tests.yml b/.github/workflows/llvm-project-tests.yml
deleted file mode 100644
index 8621a3b59218e..0000000000000
--- a/.github/workflows/llvm-project-tests.yml
+++ /dev/null
@@ -1,149 +0,0 @@
-name: LLVM Project Tests
-
-permissions:
- contents: read
-
-on:
- workflow_dispatch:
- inputs:
- build_target:
- required: false
- projects:
- required: false
- extra_cmake_args:
- required: false
- os_list:
- required: false
- default: '["ubuntu-24.04", "windows-2019", "macOS-13"]'
- python_version:
- required: false
- type: string
- default: '3.11'
- workflow_call:
- inputs:
- build_target:
- required: false
- type: string
- default: "all"
-
- projects:
- required: true
- type: string
-
- extra_cmake_args:
- required: false
- type: string
-
- os_list:
- required: false
- type: string
- # Use windows-2019 due to:
- # https://developercommunity.visualstudio.com/t/Prev-Issue---with-__assume-isnan-/1597317
- default: '["ubuntu-24.04", "windows-2019", "macOS-13"]'
-
- python_version:
- required: false
- type: string
- default: '3.11'
-
-concurrency:
- # Skip intermediate builds: always.
- # Cancel intermediate builds: only if it is a pull request build.
- # If the group name here is the same as the group name in the workflow that includes
- # this one, then the action will try to wait on itself and get stuck.
- group: llvm-project-${{ github.workflow }}-${{ inputs.projects }}-${{ inputs.python_version }}${{ github.ref }}
- cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
-
-jobs:
- lit-tests:
- name: Lit Tests
- runs-on: ${{ matrix.os }}
- container:
- image: ${{(startsWith(matrix.os, 'ubuntu') && 'ghcr.io/llvm/ci-ubuntu-24.04:latest') || null}}
- volumes:
- - /mnt/:/mnt/
- strategy:
- fail-fast: false
- matrix:
- os: ${{ fromJSON(inputs.os_list) }}
- steps:
- - name: Setup Windows
- if: startsWith(matrix.os, 'windows')
- uses: llvm/actions/setup-windows@main
- with:
- arch: amd64
- # On Windows, starting with win19/20220814.1, cmake choose the 32-bit
- # python3.10.6 libraries instead of the 64-bit libraries when building
- # lldb. Using this setup-python action to make 3.10 the default
- # python fixes this.
- - name: Setup Python
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
- with:
- python-version: ${{ inputs.python_version }}
- - name: Install Ninja
- if: runner.os != 'Linux'
- uses: llvm/actions/install-ninja@main
- # actions/checkout deletes any existing files in the new git directory,
- # so this needs to either run before ccache-action or it has to use
- # clean: false.
- - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- with:
- fetch-depth: 250
- - name: Setup ccache
- uses: hendrikmuhs/ccache-action@a1209f81afb8c005c13b4296c32e363431bffea5 # v1.2.17
- with:
- # A full build of llvm, clang, lld, and lldb takes about 250MB
- # of ccache space. There's not much reason to have more than this,
- # because we usually won't need to save cache entries from older
- # builds. Also, there is an overall 10GB cache limit, and each
- # run creates a new cache entry so we want to ensure that we have
- # enough cache space for all the tests to run at once and still
- # fit under the 10 GB limit.
- # Default to 2G to workaround: https://github.com/hendrikmuhs/ccache-action/issues/174
- max-size: 2G
- key: ${{ matrix.os }}
- variant: sccache
- - name: Build and Test
- env:
- # Workaround for https://github.com/actions/virtual-environments/issues/5900.
- # This should be a no-op for non-mac OSes
- PKG_CONFIG_PATH: /usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig//12
- shell: bash
- id: build-llvm
- run: |
- if [ "${{ runner.os }}" == "Linux" ]; then
- builddir="/mnt/build/"
- sudo mkdir -p $builddir
- sudo chown gha $builddir
- extra_cmake_args="-DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang"
- else
- builddir="$(pwd)"/build
- fi
- if [ "${{ runner.os }}" == "macOS" ]; then
- # Workaround test failure on some lld tests on MacOS
- # https://github.com/llvm/llvm-project/issues/81967
- extra_cmake_args="-DLLVM_DISABLE_ASSEMBLY_FILES=ON"
- fi
- echo "llvm-builddir=$builddir" >> "$GITHUB_OUTPUT"
- cmake -G Ninja \
- -B "$builddir" \
- -S llvm \
- -DLLVM_ENABLE_PROJECTS="${{ inputs.projects }}" \
- -DCMAKE_BUILD_TYPE=Release \
- -DLLVM_ENABLE_ASSERTIONS=ON \
- -DLLDB_INCLUDE_TESTS=OFF \
- -DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl" \
- -DCMAKE_C_COMPILER_LAUNCHER=sccache \
- -DCMAKE_CXX_COMPILER_LAUNCHER=sccache \
- $extra_cmake_args \
- ${{ inputs.extra_cmake_args }}
- ninja -C "$builddir" '${{ inputs.build_target }}'
-
- - name: Build and Test libclc
- if: "!startsWith(matrix.os, 'windows') && contains(inputs.projects, 'libclc')"
- env:
- LLVM_BUILDDIR: ${{ steps.build-llvm.outputs.llvm-builddir }}
- run: |
- # The libclc tests don't have a generated check target so all we can
- # do is build it.
- ninja -C "$LLVM_BUILDDIR"
diff --git a/.github/workflows/llvm-project-workflow-tests.yml b/.github/workflows/llvm-project-workflow-tests.yml
deleted file mode 100644
index a2539b279be0a..0000000000000
--- a/.github/workflows/llvm-project-workflow-tests.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-# This workflow will test the llvm-project-tests workflow in PRs
-# targetting the main branch. Since this workflow doesn't normally
-# run on main PRs, we need some way to test it to ensure new updates
-# don't break it.
-
-name: LLVM Workflow Test
-
-permissions:
- contents: read
-
-on:
- pull_request:
- branches:
- - 'main'
- paths:
- - '.github/workflows/llvm-project-tests.yml'
- - '.github/workflows/llvm-project-workflow-tests.yml'
-
-concurrency:
- # Skip intermediate builds: always.
- # Cancel intermediate builds: only if it is a pull request build.
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
-
-jobs:
- llvm-test:
- if: github.repository_owner == 'llvm'
- name: Build and Test
- uses: ./.github/workflows/llvm-project-tests.yml
- with:
- build_target: check-all
- projects: clang;lld;libclc;lldb
|
Created using spr 1.3.6 [skip ci]
Created using spr 1.3.6 [skip ci]
boomanaiden154
added a commit
to boomanaiden154/llvm-project
that referenced
this pull request
Aug 16, 2025
All users of this have been claned up so we can now drop it fully. Pull Request: llvm#153877
Created using spr 1.3.6 [skip ci]
Created using spr 1.3.6 [skip ci]
Created using spr 1.3.6 [skip ci]
cmtice
approved these changes
Aug 18, 2025
llvm-sync bot
pushed a commit
to arm/arm-toolchain
that referenced
this pull request
Aug 18, 2025
All users of this have been claned up so we can now drop it fully. Reviewers: cmtice, tstellar Reviewed By: cmtice Pull Request: llvm/llvm-project#153877
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
All users of this have been claned up so we can now drop it fully.