This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/orc.git
The following commit(s) were added to refs/heads/main by this push:
new 9cba78ba1 ORC-2074: Reduce GitHub Action concurrency
9cba78ba1 is described below
commit 9cba78ba1ab46528402d090a8a8fb7efcbb9305d
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Feb 5 23:19:56 2026 -0800
ORC-2074: Reduce GitHub Action concurrency
### What changes were proposed in this pull request?
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"
/>
### Why are the changes needed?
- 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.
### How was this patch tested?
Pass the CIs.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #2510 from dongjoon-hyun/ORC-2074.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.github/workflows/build_and_test.yml | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/build_and_test.yml
b/.github/workflows/build_and_test.yml
index 22ad92dc8..4e98b9732 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -40,6 +40,7 @@ concurrency:
jobs:
docker:
name: "Docker ${{ matrix.os }}"
+ needs: build
runs-on: ubuntu-latest
strategy:
fail-fast: false
@@ -61,15 +62,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
@@ -80,6 +79,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
env:
@@ -116,6 +121,7 @@ jobs:
windows:
name: "C++ ${{ matrix.simd }} Test on Windows"
+ needs: build
runs-on: windows-2025
strategy:
fail-fast: false
@@ -168,6 +174,7 @@ jobs:
simdUbuntu:
name: "SIMD programming using C++ intrinsic functions on ${{ matrix.os }}"
+ needs: build
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
@@ -218,6 +225,7 @@ jobs:
cpp-linter:
runs-on: ubuntu-24.04
+ needs: [license-check]
steps:
- uses: actions/checkout@v5
- name: Run build
@@ -259,6 +267,7 @@ jobs:
macos-cpp-check:
name: "C++ Test on macOS"
+ needs: [cpp-linter]
strategy:
fail-fast: false
matrix: