Skip to content
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

workflows: Run spirv tests on self-hosted runner #77025

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tstellar
Copy link
Collaborator

@tstellar tstellar commented Jan 4, 2024

No description provided.

@llvmbot
Copy link
Collaborator

llvmbot commented Jan 4, 2024

@llvm/pr-subscribers-github-workflow

Author: Tom Stellard (tstellar)

Changes

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 --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"]'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants