Skip to content

Instantly share code, notes, and snippets.

View legleux's full-sized avatar

Michael Legleux legleux

View GitHub Profile
name: ci
on:
push:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
strategy:
import asyncio
import json
import os
import queue
import time
import copy
import requests
import websockets
from lib.utils import constants, flags
@legleux
legleux / build_clio.sh
Last active June 9, 2025 22:27
Build Clio with Conan 2
apt-get update && apt-get install -y g++-12 git python3 git python3-pip python-is-python3
pip install conan==2.17.0 cmake==4.0
conan remote add --index 0 ripple http://18.143.149.228:8081/artifactory/api/conan/dev
conan remote disable conancenter # Just to be sure our repo works 100%
git clone https://github.com/XRPLF/clio.git
# Need to update Clio's protobuf version
sed -i s#protobuf/3.21.9#protobuf/3.21.12# clio/conanfile.py
mkdir -p ~/.conan2/profiles
cat << EOF > ~/.conan2/profiles/default
{% set compiler = os.getenv("COMPILER", "gcc") %}
ERROR: Conflict in googleapis/cci.20220711:
'googleapis/cci.20220711' requires 'protobuf/3.21.4' while 'grpc-proto/cci.20220627' requires 'protobuf/3.21.9'.
To fix this conflict you need to override the package 'protobuf' in your root package.
commit 124df5c64b334f8cb0916c3ce20a7d8288ed85d9 (HEAD -> deps, john/deps)
Merge: f52a02fccf 54afdaa101
Author: John Freeman <jfreeman08@gmail.com>
Date: Thu Jun 29 18:39:26 2023 -0500
Merge branch develop

Keybase proof

I hereby claim:

  • I am legleux on github.
  • I am poobert (https://keybase.io/poobert) on keybase.
  • I have a public key ASCGx_PU_tyWaJfatUiZ2I1xVs1rUE4N8Xdt5pkC0HJDTwo

To claim this, I am signing this object: