[llvm-branch-commits] [llvm] [Github] Remove use of setup-windows and install-ninja in llvm tests (PR #168987)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Dec 12 02:35:59 PST 2025


https://github.com/dyung updated https://github.com/llvm/llvm-project/pull/168987

>From 2078da43e25a4623cab2d0d60decddf709aaea28 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Fri, 21 Nov 2025 02:15:07 +0000
Subject: [PATCH] [Github] Remove use of setup-windows and install-ninja in
 llvm tests

This workflow is only used for libclang and SPIRV tests (and is
completely removed in main). Remove install-ninja and setup-windows
(only needed on non-Linux) so that we can remove them from llvm/actions.
---
 .github/workflows/llvm-project-tests.yml | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/.github/workflows/llvm-project-tests.yml b/.github/workflows/llvm-project-tests.yml
index d40ed5babb459..b68e9493ce9c7 100644
--- a/.github/workflows/llvm-project-tests.yml
+++ b/.github/workflows/llvm-project-tests.yml
@@ -37,9 +37,7 @@ on:
       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"]'
+        default: '["ubuntu-24.04"]'
 
       python_version:
         required: false
@@ -67,11 +65,6 @@ jobs:
       matrix:
         os: ${{ fromJSON(inputs.os_list) }}
     steps:
-      - name: Setup Windows
-        if: startsWith(matrix.os, 'windows')
-        uses: llvm/actions/setup-windows at 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
@@ -80,9 +73,6 @@ jobs:
         uses: actions/setup-python at 42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
         with:
           python-version: ${{ inputs.python_version }}
-      - name: Install Ninja
-        if: runner.os != 'Linux'
-        uses: llvm/actions/install-ninja at 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.



More information about the llvm-branch-commits mailing list