mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Fix CI: cspell EOJSON delimiter and telemetry workflow conan setup
- Rename EOJSON heredoc delimiter to EOF_JSON to avoid cspell unknown word - Add conan installation step (pip3 install conan) to telemetry-validation workflow - Use shared setup-conan action for proper Conan profile/remote configuration - Align build commands with reusable-build-test-config.yml conventions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
20
.github/workflows/telemetry-validation.yml
vendored
20
.github/workflows/telemetry-validation.yml
vendored
@@ -77,11 +77,17 @@ jobs:
|
||||
- name: Install Python dependencies
|
||||
run: pip3 install -r docker/telemetry/workload/requirements.txt
|
||||
|
||||
- name: Set up Conan and build cache
|
||||
- name: Install Conan
|
||||
run: pip3 install conan
|
||||
|
||||
- name: Set up Conan
|
||||
uses: ./.github/actions/setup-conan
|
||||
|
||||
- name: Cache Conan packages and build directory
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.conan2
|
||||
~/.conan2/p
|
||||
.build
|
||||
key: telemetry-build-${{ runner.os }}-${{ hashFiles('conanfile.py', 'CMakeLists.txt') }}
|
||||
restore-keys: |
|
||||
@@ -89,9 +95,9 @@ jobs:
|
||||
|
||||
- name: Build rippled with telemetry
|
||||
run: |
|
||||
conan install . --build=missing -o telemetry=True
|
||||
cmake --preset default -Dtelemetry=ON
|
||||
cmake --build --preset default --parallel $(nproc)
|
||||
conan install . --build=missing --profile ci --output-folder=build
|
||||
cmake -B build -DCMAKE_TOOLCHAIN_FILE:FILEPATH=build/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release -Dtelemetry=ON
|
||||
cmake --build build --parallel $(nproc)
|
||||
|
||||
- name: Make scripts executable
|
||||
run: |
|
||||
@@ -100,9 +106,9 @@ jobs:
|
||||
- name: Run full telemetry validation
|
||||
id: validation
|
||||
env:
|
||||
XRPLD: .build/xrpld
|
||||
XRPLD: build/xrpld
|
||||
run: |
|
||||
ARGS="--xrpld .build/xrpld --skip-loki"
|
||||
ARGS="--xrpld build/xrpld --skip-loki"
|
||||
ARGS="$ARGS --rpc-rate ${{ github.event.inputs.rpc_rate || '50' }}"
|
||||
ARGS="$ARGS --rpc-duration ${{ github.event.inputs.rpc_duration || '120' }}"
|
||||
ARGS="$ARGS --tx-tps ${{ github.event.inputs.tx_tps || '5' }}"
|
||||
|
||||
Reference in New Issue
Block a user