Skip to content

Commit

Permalink
enh(gha): little fix in the cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
bouda1 committed Sep 11, 2024
1 parent b68a61e commit 13d50a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/centreon-collect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ jobs:
release: ${{ needs.get-version.outputs.release }}
commit_hash: ${{ github.sha }}
stability: ${{ needs.get-version.outputs.stability }}
legacy_engine: ${{ github.event.inputs.legacy_engine }}
secrets: inherit

robot-test:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/package-collect.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
stability:
required: true
type: string
legacy_engine:
required: true
type: boolean

jobs:
package:
Expand Down Expand Up @@ -162,7 +165,7 @@ jobs:
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_C_COMPILER_LAUNCHER=${SCCACHE_PATH} \
-DCMAKE_CXX_COMPILER_LAUNCHER=${SCCACHE_PATH} \
-DLEGACY_ENGINE=ON \
-DLEGACY_ENGINE={{ inputs.legacy_engine == 'true' && 'ON' || 'OFF' }} \
-S .
ninja -Cbuild
Expand Down

0 comments on commit 13d50a2

Please sign in to comment.