Add xrpld build option and Conan package test (#5052)

* Make xrpld target optional

* Add job to test Conan recipe

* [fold] address review comments

* [fold] Enable tests in workflows

* [fold] Rename with_xrpld option

* [fold] Fix grep expression
This commit is contained in:
John Freeman
2024-07-11 17:04:30 -05:00
committed by tequ
parent a5787f78a5
commit f1687f0e1b
9 changed files with 164 additions and 70 deletions

View File

@@ -88,6 +88,8 @@ runs:
$CCACHE_ARGS \
-DCMAKE_TOOLCHAIN_FILE:FILEPATH=build/generators/conan_toolchain.cmake \
-DCMAKE_BUILD_TYPE=${{ inputs.configuration }}
-Dtests=TRUE \
-Dxrpld=TRUE
- name: Build project
shell: bash
@@ -105,4 +107,4 @@ runs:
uses: actions/cache/save@v4
with:
path: ~/.ccache
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}
key: ${{ steps.ccache-restore.outputs.cache-primary-key }}

View File

@@ -74,6 +74,8 @@ runs:
--output-folder . \
--build missing \
--settings build_type=${{ inputs.configuration }} \
-Dtests=TRUE \
-Dxrpld=TRUE \
..
- name: Save Conan cache