Skip to content

Commit 9288511

Browse files
authored
Ci: Merge GTest workflow jobs (#1280)
Combine the build and run jobs in the GTest workflow to ensure that both are run on the same runner.
1 parent 12a21e3 commit 9288511

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/gtest-bare-metal.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,10 @@ jobs:
4040
with:
4141
filters: .github/path_filters.yml
4242

43-
gtest-build-mtl:
43+
run-tests:
4444
needs: gtest-check-for-changes
4545
if: github.repository == 'OpenVisualCloud/Media-Transport-Library' && (needs.gtest-check-for-changes.outputs.changed == 'true' || github.event_name == 'workflow_dispatch')
4646
runs-on: [self-hosted, linux, x64, dpdk]
47-
timeout-minutes: 60
48-
4947
steps:
5048
- name: Harden Runner
5149
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
@@ -79,16 +77,6 @@ jobs:
7977
run: |
8078
sudo dmesg | grep "Intel(R) Ethernet Connection .* version Kahawai.*"
8179
82-
gtest-perform-tests:
83-
needs: [gtest-check-for-changes, gtest-build-mtl]
84-
if: github.repository == 'OpenVisualCloud/Media-Transport-Library' && (needs.gtest-check-for-changes.outputs.changed == 'true' || github.event_name == 'workflow_dispatch')
85-
runs-on: [self-hosted, linux, x64, dpdk]
86-
steps:
87-
- name: Harden Runner
88-
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
89-
with:
90-
egress-policy: audit
91-
9280
- name: Kill previous gtest routine
9381
run: |
9482
sudo killall -SIGINT KahawaiTest || true

0 commit comments

Comments
 (0)