Skip to content

Commit

Permalink
add checkci branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylarod committed Jan 7, 2024
1 parent 639d351 commit 245a84f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-kernel-a12.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build Kernel - Android 12
on:
push:
branches: ["main", "ci"]
branches: ["main", "ci", "checkci"]
paths:
- ".github/workflows/build-kernel-a12.yml"
- ".github/workflows/gki-kernel.yml"
Expand All @@ -17,7 +17,7 @@ on:
workflow_call:
jobs:
build-kernel:
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && github.ref != 'refs/heads/checkci'
strategy:
matrix:
include:
Expand Down Expand Up @@ -53,6 +53,7 @@ jobs:
tag: android12-5.10-${{ matrix.os_patch_level }}
os_patch_level: ${{ matrix.os_patch_level }}
patch_path: "5.10"

upload-artifacts:
needs: build-kernel
runs-on: ubuntu-latest
Expand Down Expand Up @@ -124,7 +125,7 @@ jobs:
path: Image-android12*/*.img.gz

check-build-kernel:
if: github.event_name == 'pull_request' && !github.event.pull_request.draft
if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || github.ref == 'refs/heads/checkci'
uses: ./.github/workflows/gki-kernel.yml
with:
version: android12-5.10
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build-kernel-a13.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build Kernel - Android 13
on:
push:
branches: ["main", "ci"]
branches: ["main", "ci", "checkci"]
paths:
- ".github/workflows/build-kernel-a13.yml"
- ".github/workflows/gki-kernel.yml"
Expand All @@ -17,7 +17,7 @@ on:
workflow_call:
jobs:
build-kernel:
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && github.ref != 'refs/heads/checkci'
strategy:
matrix:
include:
Expand Down Expand Up @@ -80,6 +80,7 @@ jobs:
tag: android13-${{ matrix.version }}-${{ matrix.os_patch_level }}
os_patch_level: ${{ matrix.os_patch_level }}
patch_path: ${{ matrix.version }}

upload-artifacts:
needs: build-kernel
runs-on: ubuntu-latest
Expand Down Expand Up @@ -151,7 +152,7 @@ jobs:
path: Image-android13*/*.img.gz

check-build-kernel:
if: github.event_name == 'pull_request' && !github.event.pull_request.draft
if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || github.ref == 'refs/heads/checkci'
strategy:
matrix:
include:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build-kernel-a14.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build Kernel - Android 14
on:
push:
branches: ["main", "ci"]
branches: ["main", "ci", "checkci"]
paths:
- ".github/workflows/build-kernel-a14.yml"
- ".github/workflows/gki-kernel.yml"
Expand All @@ -17,7 +17,7 @@ on:
workflow_call:
jobs:
build-kernel:
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && github.ref != 'refs/heads/checkci'
strategy:
matrix:
include:
Expand All @@ -44,6 +44,7 @@ jobs:
tag: android14-${{ matrix.version }}-${{ matrix.os_patch_level }}
os_patch_level: ${{ matrix.os_patch_level }}
patch_path: ${{ matrix.version }}

upload-artifacts:
needs: build-kernel
runs-on: ubuntu-latest
Expand Down Expand Up @@ -115,7 +116,7 @@ jobs:
path: Image-android14*/*.img.gz

check-build-kernel:
if: github.event_name == 'pull_request' && !github.event.pull_request.draft
if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || github.ref == 'refs/heads/checkci'
strategy:
matrix:
include:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-kernel-arcvm.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build Kernel - ChromeOS ARCVM
on:
push:
branches: ["main"]
branches: ["main", "ci", "checkci"]
paths:
- ".github/workflows/build-kernel-arcvm.yml"
- "kernel/**"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-kernel-wsa.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build Kernel - WSA
on:
push:
branches: ["main"]
branches: ["main", "ci", "checkci"]
paths:
- ".github/workflows/build-kernel-wsa.yml"
- "kernel/**"
Expand All @@ -15,7 +15,7 @@ on:

jobs:
build:
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && github.ref != 'refs/heads/checkci'
strategy:
matrix:
arch: [x86_64, arm64]
Expand All @@ -26,7 +26,7 @@ jobs:
version: ${{ matrix.version }}

check_build:
if: github.event_name == 'pull_request' && !github.event.pull_request.draft
if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || github.ref == 'refs/heads/checkci'
uses: ./.github/workflows/wsa-kernel.yml
strategy:
matrix:
Expand Down

0 comments on commit 245a84f

Please sign in to comment.