[llvm] [CI] Skip libcxx in non-llvm repo (PR #73282)

Jinsong Ji via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 23 20:23:36 PST 2023


https://github.com/jsji created https://github.com/llvm/llvm-project/pull/73282

The new libcxx workflow are run and failing in non llvm repo.
Skip it similar to other workflow.


>From c9420eec47172f5bda0265bab971cc5a0d7a8ea6 Mon Sep 17 00:00:00 2001
From: Jinsong Ji <jinsong.ji at intel.com>
Date: Thu, 23 Nov 2023 20:20:03 -0800
Subject: [PATCH] [CI] Skip libcxx in non-llvm repo

The new libcxx workflow are run and failing in non llvm repo.
Skip it similar to other workflow.
---
 .github/workflows/libcxx-build-and-test.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/libcxx-build-and-test.yaml b/.github/workflows/libcxx-build-and-test.yaml
index 905906a1c75c935..dccfe54d4646767 100644
--- a/.github/workflows/libcxx-build-and-test.yaml
+++ b/.github/workflows/libcxx-build-and-test.yaml
@@ -43,6 +43,7 @@ env:
 
 jobs:
   stage1:
+    if: github.repository_owner == 'llvm'
     runs-on:
       group: libcxx-runners-8
     continue-on-error: false
@@ -81,6 +82,7 @@ jobs:
             **/CMakeOutput.log
             **/crash_diagnostics/*
   stage2:
+    if: github.repository_owner == 'llvm'
     runs-on:
       group: libcxx-runners-8
     needs: [ stage1 ]
@@ -130,6 +132,7 @@ jobs:
             **/CMakeOutput.log
             **/crash_diagnostics/*
   stage3:
+    if: github.repository_owner == 'llvm'
     needs: [ stage1, stage2 ]
     continue-on-error: false
     strategy:



More information about the llvm-commits mailing list