Skip to content

Commit

Permalink
perf(ci): Trigger all CI for 'v9.0.0'; otherwise, trigger only Ubuntu…
Browse files Browse the repository at this point in the history
… 18 x86-64 CI
  • Loading branch information
minhanghuang committed Jun 24, 2024
1 parent 44de438 commit 67393e0
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 65 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ubuntu-latest-arrch64-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/ubuntu-latest-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/ubuntu18-arrch64-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/ubuntu18-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/ubuntu20-arrch64-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/ubuntu20-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/ubuntu22-arrch64-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/ubuntu22-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/ubuntu24-v9.0.0-build.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 67393e0

Please sign in to comment.