From c11159c725d2aa64f39893b8df97df9b56e4a2db Mon Sep 17 00:00:00 2001 From: Wenju He Date: Wed, 29 May 2024 11:46:56 +0800 Subject: [PATCH 1/3] [CI] Change verify_default_branch job name to "In-tree build" Motivation: use the name as check in "Require status checks to pass" Relates to issue #516 --- .github/workflows/on-push-verification.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/on-push-verification.yml b/.github/workflows/on-push-verification.yml index ee0e04d8..c6fb3462 100644 --- a/.github/workflows/on-push-verification.yml +++ b/.github/workflows/on-push-verification.yml @@ -25,7 +25,7 @@ on: jobs: verify_default_branch: - name: Verify for `master` branch + name: In-tree build # ref_name for 'on: push' # base_ref for 'on: pull_request' if: ${{ (github.event_name == 'push' && github.ref_name == 'master') || (github.event_name == 'pull_request' && github.base_ref == 'master') }} From b55d9dfdc970d0c739673716cb2b9927f8056f33 Mon Sep 17 00:00:00 2001 From: Wenju He Date: Wed, 29 May 2024 12:19:57 +0800 Subject: [PATCH 2/3] In-tree build / Linux --- .github/workflows/on-push-verification.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/on-push-verification.yml b/.github/workflows/on-push-verification.yml index c6fb3462..b6ae8682 100644 --- a/.github/workflows/on-push-verification.yml +++ b/.github/workflows/on-push-verification.yml @@ -25,7 +25,7 @@ on: jobs: verify_default_branch: - name: In-tree build + name: In-tree build / Linux # ref_name for 'on: push' # base_ref for 'on: pull_request' if: ${{ (github.event_name == 'push' && github.ref_name == 'master') || (github.event_name == 'pull_request' && github.base_ref == 'master') }} From 135cc2001636cc6361cb81642f24c09e00f87a32 Mon Sep 17 00:00:00 2001 From: Wenju He Date: Wed, 29 May 2024 12:40:14 +0800 Subject: [PATCH 3/3] remove verify_default_branch which is not run for 14 branch --- .github/workflows/on-push-verification.yml | 23 ++-------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/on-push-verification.yml b/.github/workflows/on-push-verification.yml index b6ae8682..600dfb43 100644 --- a/.github/workflows/on-push-verification.yml +++ b/.github/workflows/on-push-verification.yml @@ -4,7 +4,7 @@ # to choose correct dependencies revisions # ===--- -name: On push & pull-request verification +name: In-tree build run-name: '${{ github.event_name }}: ${{ github.base_ref }} ${{ github.ref_name }}' # github.base_ref null for 'on: push' on: @@ -24,29 +24,10 @@ on: jobs: - verify_default_branch: - name: In-tree build / Linux - # ref_name for 'on: push' - # base_ref for 'on: pull_request' - if: ${{ (github.event_name == 'push' && github.ref_name == 'master') || (github.event_name == 'pull_request' && github.base_ref == 'master') }} - runs-on: ubuntu-22.04 - steps: - - - name: Checkout opencl-clang sources for action files - uses: actions/checkout@v3 - - - name: Run build-opencl-clang action - uses: ./.github/actions/build-opencl-clang - with: - ref_llvm: main - ref_translator: main - ref_opencl-clang: ${{ github.ref }} - verify_release_branch: - name: Verify for `ocl-open-*` release branch + name: Linux # ref_name for 'on: push' # base_ref for 'on: pull_request' - if: ${{ github.ref_name != 'master' && github.base_ref != 'master' }} runs-on: ubuntu-22.04 steps: