[llvm] Testing (PR #122221)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 8 22:09:46 PST 2025
https://github.com/boomanaiden154 updated https://github.com/llvm/llvm-project/pull/122221
>From 074fa10ce239ad0138379f231cf08781b4603574 Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Thu, 9 Jan 2025 05:54:10 +0000
Subject: [PATCH] Testing
---
.github/workflows/llvm-project-tests.yml | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/llvm-project-tests.yml b/.github/workflows/llvm-project-tests.yml
index 95a3890c0d2dc7..75c60fde892150 100644
--- a/.github/workflows/llvm-project-tests.yml
+++ b/.github/workflows/llvm-project-tests.yml
@@ -39,7 +39,7 @@ on:
type: string
# Use windows-2019 due to:
# https://developercommunity.visualstudio.com/t/Prev-Issue---with-__assume-isnan-/1597317
- default: '["ubuntu-latest", "windows-2019", "macOS-13"]'
+ default: '["ubuntu-22.04", "windows-2019", "macOS-13"]'
python_version:
required: false
@@ -67,11 +67,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,6 +75,15 @@ jobs:
uses: actions/setup-python at v5
with:
python-version: ${{ inputs.python_version }}
+ - name: Test python
+ run: |
+ stat /__t/Python/3.11.11/x64/bin/python3
+ /__t/Python/3.11.11/x64/bin/python3 --version
+ - name: Setup Windows
+ if: startsWith(matrix.os, 'windows')
+ uses: llvm/actions/setup-windows at main
+ with:
+ arch: amd64
- name: Install Ninja
if: runner.os != 'Linux'
uses: llvm/actions/install-ninja at main
@@ -113,7 +117,8 @@ jobs:
run: |
if [ "${{ runner.os }}" == "Linux" ]; then
builddir="/mnt/build/"
- mkdir -p $builddir
+ sudo mkdir -p $builddir
+ sudo chown gha $builddir
extra_cmake_args="-DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang"
else
builddir="$(pwd)"/build
More information about the llvm-commits
mailing list