[llvm] workflows: Run spirv tests on self-hosted runner (PR #77025)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 4 15:39:08 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Tom Stellard (tstellar)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/77025.diff
2 Files Affected:
- (modified) .github/workflows/llvm-project-tests.yml (+4-2)
- (modified) .github/workflows/spirv-tests.yml (+1-1)
``````````diff
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"]'
``````````
</details>
https://github.com/llvm/llvm-project/pull/77025
More information about the llvm-commits
mailing list