Skip to content

Commit d146401

Browse files
authored
Merge pull request #61 from qorix-group/piotrkorkus_workflows
Docs build on release, refactor qnx workflow
2 parents 5aa097a + 55e474c commit d146401

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

.github/workflows/build_qnx8.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,17 @@ on:
1818
merge_group:
1919
types: [checks_requested]
2020
jobs:
21-
qnx-build-arm64:
21+
qnx-build:
2222
uses: eclipse-score/cicd-workflows/.github/workflows/qnx-build.yml@main
2323
permissions:
2424
contents: read
2525
pull-requests: read
26+
strategy:
27+
matrix:
28+
config: ['arm64-qnx', 'x86_64-qnx']
2629
with:
2730
bazel-target: '//src/...'
28-
bazel-config: 'arm64-qnx'
29-
credential-helper: 'scripts/internal/qnx_creds.py'
30-
environment-name: 'workflow-approval'
31-
secrets:
32-
score-qnx-license: ${{ secrets.SCORE_QNX_LICENSE }}
33-
score-qnx-user: ${{ secrets.SCORE_QNX_USER }}
34-
score-qnx-password: ${{ secrets.SCORE_QNX_PASSWORD }}
35-
qnx-build-x86_64:
36-
uses: eclipse-score/cicd-workflows/.github/workflows/qnx-build.yml@main
37-
permissions:
38-
contents: read
39-
pull-requests: read
40-
with:
41-
bazel-target: '//src/...'
42-
bazel-config: 'x86_64-qnx'
31+
bazel-config: ${{ matrix.config }}
4332
credential-helper: 'scripts/internal/qnx_creds.py'
4433
environment-name: 'workflow-approval'
4534
secrets:

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ on:
2525
push:
2626
branches:
2727
- main
28+
release:
29+
types: [created]
2830

2931
jobs:
3032
build-docs:

0 commit comments

Comments
 (0)