[llvm] workflows: Run spirv tests on self-hosted runner (PR #77025)
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 4 15:38:39 PST 2024
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/77025
None
>From 79cc9b3a91f205063b797f9b849130a5e91ef3ee Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Thu, 4 Jan 2024 15:35:19 -0800
Subject: [PATCH] workflows: Run spirv tests on self-hosted runner
---
.github/workflows/llvm-project-tests.yml | 6 ++++--
.github/workflows/spirv-tests.yml | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/llvm-project-tests.yml b/.github/workflows/llvm-project-tests.yml
index 02b1ab75e960ec..93b3777c723685 100644
--- a/.github/workflows/llvm-project-tests.yml
+++ b/.github/workflows/llvm-project-tests.yml
@@ -14,7 +14,7 @@ on:
required: false
os_list:
required: false
- default: '["ubuntu-latest", "windows-2019", "macOS-11"]'
+ default: '["arc-google-linux", "windows-2019", "macOS-11"]'
workflow_call:
inputs:
build_target:
@@ -36,7 +36,7 @@ on:
# https://developercommunity.visualstudio.com/t/Prev-Issue---with-__assume-isnan-/1597317
# We're using a specific version of macOS due to:
# https://github.com/actions/virtual-environments/issues/5900
- default: '["ubuntu-latest", "windows-2019", "macOS-11"]'
+ default: '["arc-google-linux", "windows-2019", "macOS-11"]'
concurrency:
# Skip intermediate builds: always.
@@ -54,6 +54,8 @@ jobs:
fail-fast: false
matrix:
os: ${{ fromJSON(inputs.os_list) }}
+ container:
+ image: ${{ (contains(matrix.os, 'linux') && format('ghcr.io/{0}/ci-ubuntu-22.04:latest', github.repository_owner)) || null }}
steps:
- name: Setup Windows
if: startsWith(matrix.os, 'windows')
diff --git a/.github/workflows/spirv-tests.yml b/.github/workflows/spirv-tests.yml
index 0e1d0caca410cf..22bdfbc624f0f1 100644
--- a/.github/workflows/spirv-tests.yml
+++ b/.github/workflows/spirv-tests.yml
@@ -26,4 +26,4 @@ jobs:
build_target: check-llvm-codegen-spirv
projects:
extra_cmake_args: '-DLLVM_TARGETS_TO_BUILD="" -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="SPIRV"'
- os_list: '["ubuntu-latest"]'
+ os_list: '["arc-google-linux"]'
More information about the llvm-commits
mailing list