Skip to content

Commit

Permalink
[21302] Fix nightly job (#246)
Browse files Browse the repository at this point in the history
* Refs #21302: Fix nightly job

Signed-off-by: JesusPoderoso <[email protected]>

* Refs #21302: Use selected branch in migging jobs (docs & uncrustify)

Signed-off-by: JesusPoderoso <[email protected]>

---------

Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso authored Sep 2, 2024
1 parent b71a4f1 commit cdc0284
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ jobs:
strategy:
fail-fast: false
matrix:
- custom_version_build: 'v2'
ref: '1.x'
- custom_version_build: 'v3'
ref: 'main'
version:
- fastdds_ref: 'v2'
backend_ref: '1.x'
- fastdds_ref: 'v3'
backend_ref: 'main'
name: reusable_tests
uses: ./.github/workflows/reusable-workflow.yml
with:
custom_version_build: ${{ matrix.custom_version_build }}
custom_version_build: ${{ matrix.version.fastdds_ref }}
dependencies_artifact_postfix: '_nightly'
ref: ${{ matrix.ref }}
ref: ${{ matrix.version.backend_ref }}
secrets: inherit
12 changes: 12 additions & 0 deletions .github/workflows/reusable-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,12 @@ jobs:
runs-on: ubuntu-22.04
steps:

- name: Sync repository
uses: eProsima/eProsima-CI/external/checkout@v0
with:
path: src
ref: ${{ inputs.ref }}

- name: Install libtinyxml in ubuntu
uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@v0
with:
Expand Down Expand Up @@ -309,5 +315,11 @@ jobs:
runs-on: ubuntu-22.04
steps:

- name: Sync repository
uses: eProsima/eProsima-CI/external/checkout@v0
with:
path: src
ref: ${{ inputs.ref }}

- name: Uncrustify
uses: eProsima/eProsima-CI/ubuntu/uncrustify@v0

0 comments on commit cdc0284

Please sign in to comment.