forked from XRPLF/rippled
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ci/conan2' into vault_conan2
- Loading branch information
Showing
9 changed files
with
158 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: environment | ||
runs: | ||
using: composite | ||
steps: | ||
- name: install Conan | ||
if: runner.os == 'Linux' || runner.os == 'Windows' | ||
shell: bash | ||
run: | | ||
pip install --upgrade conan | ||
- name: install Conan and Ninja | ||
if: runner.os == 'macOS' | ||
shell: bash | ||
run: | | ||
brew install conan | ||
brew install ninja | ||
echo '/opt/homebrew/opt/conan/bin' >> ${GITHUB_PATH} | ||
- name: check environment | ||
shell: bash | ||
run: | | ||
env | sort | ||
echo ${PATH} | tr ':' '\n' | ||
type conan | ||
conan --version | ||
type cmake | ||
cmake --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
include(detected) | ||
|
||
{% import "matrix" as matrix %} | ||
|
||
[settings] | ||
compiler.cppstd=20 | ||
|
||
{% if platform.system() == "Linux" %} | ||
compiler={{ matrix.compiler }} | ||
compiler.version={{ matrix.version }} | ||
compiler.libcxx=libstdc++11 | ||
{% endif %} | ||
|
||
{% if platform.system() == "Window" %} | ||
compiler.runtime={{ matrix.runtime }} | ||
{% endif %} | ||
|
||
[conf] | ||
tools.build:cxxflags+=["-DBOOST_BEAST_USE_STD_STRING_VIEW"] | ||
tools.build:cxxflags+=["-DBOOST_ASIO_HAS_STD_INVOKE_RESULT"] | ||
tools.build:cxxflags+=["-DBOOST_ASIO_DISABLE_CONCEPTS"] | ||
|
||
{% if platform.system() == "Linux" %} | ||
tools.build:compiler_executables={"c": "{{ matrix.cc }}", "cpp": "{{ matrix.cxx }}"} | ||
{% endif %} | ||
|
||
[options] | ||
boost/*:extra_b2_flags="define=BOOST_ASIO_HAS_STD_INVOKE_RESULT" | ||
xrpl/*:xrpld=True | ||
xrpl/*:tests=True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.