From 67393e01a35a2a2e98553ce62978a673bb9121a2 Mon Sep 17 00:00:00 2001 From: minhanghuang Date: Mon, 24 Jun 2024 09:38:51 +0800 Subject: [PATCH] perf(ci): Trigger all CI for 'v9.0.0'; otherwise, trigger only Ubuntu 18 x86-64 CI --- .../ubuntu-latest-arrch64-v9.0.0-build.yaml | 10 +++------- .github/workflows/ubuntu-latest-v9.0.0-build.yaml | 10 +++------- .github/workflows/ubuntu18-arrch64-v9.0.0-build.yaml | 10 +++------- .github/workflows/ubuntu18-v9.0.0-build.yaml | 12 +++--------- .github/workflows/ubuntu20-arrch64-v9.0.0-build.yaml | 10 +++------- .github/workflows/ubuntu20-v9.0.0-build.yaml | 10 +++------- .github/workflows/ubuntu22-arrch64-v9.0.0-build.yaml | 10 +++------- .github/workflows/ubuntu22-v9.0.0-build.yaml | 10 +++------- .github/workflows/ubuntu24-v9.0.0-build.yaml | 10 +++------- 9 files changed, 27 insertions(+), 65 deletions(-) diff --git a/.github/workflows/ubuntu-latest-arrch64-v9.0.0-build.yaml b/.github/workflows/ubuntu-latest-arrch64-v9.0.0-build.yaml index 9b3076b..a7d00e5 100644 --- a/.github/workflows/ubuntu-latest-arrch64-v9.0.0-build.yaml +++ b/.github/workflows/ubuntu-latest-arrch64-v9.0.0-build.yaml @@ -1,17 +1,13 @@ name: ubuntu-latest v9.0.0 build arrch64 -run-name: CyberRT v9.0.0 build runner on ubuntu latest arrch64🚀 +run-name: ubuntu latest arrch64 on: push: - paths: - - '.github/workflows/ubuntu-latest-arrch64-v9.0.0-build.yaml' - - pull_request: - types: [opened, synchronize, reopened, closed] + branches: + - v9.0.0 jobs: build-arm-ubuntu-latest: - if: github.event.action == 'closed' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ubuntu-latest-v9.0.0-build.yaml b/.github/workflows/ubuntu-latest-v9.0.0-build.yaml index 35abbca..3a77c16 100644 --- a/.github/workflows/ubuntu-latest-v9.0.0-build.yaml +++ b/.github/workflows/ubuntu-latest-v9.0.0-build.yaml @@ -1,17 +1,13 @@ name: ubuntu-latest v9.0.0 build x86-64 -run-name: CyberRT v9.0.0 build runner on ubuntu latest x86-64🚀 +run-name: ubuntu latest x86-64 on: push: - paths: - - '.github/workflows/ubuntu-latest-v9.0.0-build.yaml' - - pull_request: - types: [opened, synchronize, reopened, closed] + branches: + - v9.0.0 jobs: build-amd-ubuntu-latest: - if: github.event.action != 'closed' runs-on: ubuntu-latest container: image: docker://ubuntu:latest diff --git a/.github/workflows/ubuntu18-arrch64-v9.0.0-build.yaml b/.github/workflows/ubuntu18-arrch64-v9.0.0-build.yaml index bdf76cd..e68179d 100644 --- a/.github/workflows/ubuntu18-arrch64-v9.0.0-build.yaml +++ b/.github/workflows/ubuntu18-arrch64-v9.0.0-build.yaml @@ -1,17 +1,13 @@ name: ubuntu18.04 v9.0.0 build arrch64 -run-name: CyberRT v9.0.0 build runner on ubuntu18 arrch64🚀 +run-name: ubuntu18 arrch64 on: push: - paths: - - '.github/workflows/ubuntu18-arrch64-v9.0.0-build.yaml' - - pull_request: - types: [opened, synchronize, reopened, closed] + branches: + - v9.0.0 jobs: build-arm-ubuntu18: - if: github.event.action != 'closed' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ubuntu18-v9.0.0-build.yaml b/.github/workflows/ubuntu18-v9.0.0-build.yaml index 0a78797..86e4f5b 100644 --- a/.github/workflows/ubuntu18-v9.0.0-build.yaml +++ b/.github/workflows/ubuntu18-v9.0.0-build.yaml @@ -1,21 +1,15 @@ name: ubuntu18.04 v9.0.0 build x86-64 -run-name: CyberRT v9.0.0 build runner on ubuntu18 x86-64🚀 +run-name: ubuntu18 x86-64 on: push: - paths: - - 'cmake/**' - - 'cyber/**' - - 'modules/**' - - 'CMakeLists.txt' - - 'scripts/**' - - '.github/workflows/ubuntu18-v9.0.0-build.yaml' + branches: + - v9.0.0 pull_request: branches: - v9.0.0 - jobs: build-amd-ubuntu18: runs-on: ubuntu-latest diff --git a/.github/workflows/ubuntu20-arrch64-v9.0.0-build.yaml b/.github/workflows/ubuntu20-arrch64-v9.0.0-build.yaml index b99671f..c9fe7bb 100644 --- a/.github/workflows/ubuntu20-arrch64-v9.0.0-build.yaml +++ b/.github/workflows/ubuntu20-arrch64-v9.0.0-build.yaml @@ -1,17 +1,13 @@ name: ubuntu20.04 v9.0.0 build arrch64 -run-name: CyberRT v9.0.0 build runner on ubuntu20 arrch64 🚀 +run-name: ubuntu20 arrch64 on: push: - paths: - - '.github/workflows/ubuntu20-arrch64-v9.0.0-build.yaml' - - pull_request: - types: [opened, synchronize, reopened, closed] + branches: + - v9.0.0 jobs: build-arm-ubuntu20: - if: github.event.action == 'closed' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ubuntu20-v9.0.0-build.yaml b/.github/workflows/ubuntu20-v9.0.0-build.yaml index 5a80ac9..c01ba43 100644 --- a/.github/workflows/ubuntu20-v9.0.0-build.yaml +++ b/.github/workflows/ubuntu20-v9.0.0-build.yaml @@ -1,17 +1,13 @@ name: ubuntu20.04 v9.0.0 build x86-64 -run-name: CyberRT v9.0.0 build runner on ubuntu20 x86-64🚀 +run-name: ubuntu20 x86-64 on: push: - paths: - - '.github/workflows/ubuntu20-v9.0.0-build.yaml' - - pull_request: - types: [opened, synchronize, reopened, closed] + branches: + - v9.0.0 jobs: build-amd-ubuntu20: - if: github.event.action == 'closed' runs-on: ubuntu-latest container: image: docker://ubuntu:20.04 diff --git a/.github/workflows/ubuntu22-arrch64-v9.0.0-build.yaml b/.github/workflows/ubuntu22-arrch64-v9.0.0-build.yaml index 2bc9852..1422c58 100644 --- a/.github/workflows/ubuntu22-arrch64-v9.0.0-build.yaml +++ b/.github/workflows/ubuntu22-arrch64-v9.0.0-build.yaml @@ -1,17 +1,13 @@ name: ubuntu22.04 v9.0.0 build arrch64 -run-name: CyberRT v9.0.0 build runner on ubuntu22 arrch64🚀 +run-name: ubuntu22 arrch64 on: push: - paths: - - '.github/workflows/ubuntu22-arrch64-v9.0.0-build.yaml' - - pull_request: - types: [opened, synchronize, reopened, closed] + branches: + - v9.0.0 jobs: build-arm-ubuntu22: - if: github.event.action == 'closed' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ubuntu22-v9.0.0-build.yaml b/.github/workflows/ubuntu22-v9.0.0-build.yaml index b1772f8..59af405 100644 --- a/.github/workflows/ubuntu22-v9.0.0-build.yaml +++ b/.github/workflows/ubuntu22-v9.0.0-build.yaml @@ -1,17 +1,13 @@ name: ubuntu22.04 v9.0.0 build x86-64 -run-name: CyberRT v9.0.0 build runner on ubuntu22 x86-64🚀 +run-name: ubuntu22 x86-64 on: push: - paths: - - '.github/workflows/ubuntu22-v9.0.0-build.yaml' - - pull_request: - types: [opened, synchronize, reopened, closed] + branches: + - v9.0.0 jobs: build-amd-ubuntu22: - if: github.event.action == 'closed' runs-on: ubuntu-latest container: image: docker://ubuntu:22.04 diff --git a/.github/workflows/ubuntu24-v9.0.0-build.yaml b/.github/workflows/ubuntu24-v9.0.0-build.yaml index 2cd89d9..7b93dbc 100644 --- a/.github/workflows/ubuntu24-v9.0.0-build.yaml +++ b/.github/workflows/ubuntu24-v9.0.0-build.yaml @@ -1,17 +1,13 @@ name: ubuntu24.04 v9.0.0 build x86-64 -run-name: CyberRT v9.0.0 build runner on ubuntu24 x86-64🚀 +run-name: ubuntu24 x86-64 on: push: - paths: - - '.github/workflows/ubuntu24-v9.0.0-build.yaml' - - pull_request: - types: [opened, synchronize, reopened, closed] + branches: + - v9.0.0 jobs: build-amd-ubuntu24: - if: github.event.action == 'closed' runs-on: ubuntu-latest container: image: docker://ubuntu:24.04