Skip to content

Commit 7e7362e

Browse files
committed
only check cross compilation in the merge queue
1 parent 980747f commit 7e7362e

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/build_and_test_cross_compilation.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,14 @@
1616

1717
name: Build & Test module (cross compilation)
1818
on:
19-
pull_request:
20-
types: [opened, reopened, synchronize]
21-
merge_group:
22-
types: [checks_requested]
19+
# pull_request:
20+
# types: [opened, reopened, synchronize]
21+
# merge_group:
22+
# types: [checks_requested]
2323
workflow_call:
2424
jobs:
2525
build_and_test_cross_compilation:
26+
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'test-cross')
2627
strategy:
2728
fail-fast: false
2829
matrix:

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
build_and_test_host:
2727
secrets: inherit
2828
uses: ./.github/workflows/build_and_test_host.yml
29-
build_and_test_qnx:
29+
build_and_test_cross_compilation:
3030
secrets: inherit
31-
uses: ./.github/workflows/build_and_test_qnx.yml
31+
uses: ./.github/workflows/build_and_test_cross_compilation.yml
3232
# check if PR can be enqueued to the merge queue
3333
can_enqueue:
3434
if: always() && github.event_name != 'merge_group'
@@ -53,7 +53,7 @@ jobs:
5353
needs:
5454
- pre-commit
5555
- build_and_test_host
56-
- build_and_test_qnx
56+
- build_and_test_cross_compilation
5757
permissions:
5858
actions: read
5959
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)