This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-2.2
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-2.2 by this push:
     new e871788d6 ORC-2074: Reduce GitHub Action concurrency
e871788d6 is described below

commit e871788d6dabbb639cce50042a044a80c7a6f65d
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Feb 5 23:19:56 2026 -0800

    ORC-2074: Reduce GitHub Action concurrency
    
    This PR aims to reduce `GitHub Action` concurrency by re-organizing test 
pipelines from a full parallel run to the following in order to meet ASF Infra 
policy.
    
    <img width="1003" height="742" alt="Screenshot 2026-02-05 at 23 18 44" 
src="https://github.com/user-attachments/assets/c895915b-9b7c-4352-90d8-a16a7dea84e5";
 />
    
    - https://infra.apache.org/github-actions-policy.html
    
    > All workflows MUST have a job concurrency level less than or equal to 20. 
This means a workflow cannot have more than 20 jobs running at the same time 
across all matrices.
    
    Pass the CIs.
    
    No.
    
    Closes #2510 from dongjoon-hyun/ORC-2074.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 9cba78ba1ab46528402d090a8a8fb7efcbb9305d)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/build_and_test.yml | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index 7ee7f74b3..b4617ccb1 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -39,6 +39,7 @@ concurrency:
 jobs:
   docker:
     name: "Docker ${{ matrix.os }}"
+    needs: build
     runs-on: ubuntu-latest
     strategy:
       fail-fast: false
@@ -62,15 +63,13 @@ jobs:
 
   build:
     name: "Java ${{ matrix.java }} and ${{ matrix.cxx }} on ${{ matrix.os }}"
+    needs: [license-check, doc]
     runs-on: ${{ matrix.os }}
     strategy:
       fail-fast: false
       matrix:
         os:
-          - ubuntu-22.04
           - ubuntu-24.04
-          - ubuntu-24.04-arm
-          - macos-15
           - macos-26
         java:
           - 17
@@ -81,6 +80,12 @@ jobs:
           - os: ubuntu-22.04
             java: 17
             cxx: g++
+          - os: macos-15
+            java: 17
+            cxx: clang++
+          - os: ubuntu-24.04-arm
+            java: 17
+            cxx: clang++
           - os: ubuntu-latest
             java: 25
           - os: macos-14
@@ -119,6 +124,7 @@ jobs:
 
   simdUbuntu:
     name: "SIMD programming using C++ intrinsic functions on ${{ matrix.os }}"
+    needs: build
     runs-on: ${{ matrix.os }}
     strategy:
       fail-fast: false
@@ -169,6 +175,7 @@ jobs:
 
   cpp-linter:
     runs-on: ubuntu-24.04
+    needs: [license-check]
     steps:
       - uses: actions/checkout@v4
       - name: Run build
@@ -210,6 +217,7 @@ jobs:
 
   macos-cpp-check:
     name: "C++ Test on macOS"
+    needs: [cpp-linter]
     strategy:
       fail-fast: false
       matrix:

Reply via email to