mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
feat: Add init_conan script (#2242)
This should make life of a developer so much easier
This commit is contained in:
7
.github/workflows/build_impl.yml
vendored
7
.github/workflows/build_impl.yml
vendored
@@ -77,11 +77,10 @@ jobs:
|
||||
with:
|
||||
disable_ccache: ${{ inputs.disable_cache }}
|
||||
|
||||
- name: Setup conan
|
||||
- name: Setup conan on macOS
|
||||
if: runner.os == 'macOS'
|
||||
uses: ./.github/actions/setup_conan_macos
|
||||
with:
|
||||
conan_files_dir: docker/ci/conan/
|
||||
shell: bash
|
||||
run: ./.github/scripts/conan/init.sh
|
||||
|
||||
- name: Restore cache
|
||||
if: ${{ !inputs.disable_cache }}
|
||||
|
||||
23
.github/workflows/upload_conan_deps.yml
vendored
23
.github/workflows/upload_conan_deps.yml
vendored
@@ -15,7 +15,12 @@ on:
|
||||
- develop
|
||||
paths:
|
||||
- .github/workflows/upload_conan_deps.yml
|
||||
- .github/scripts/generate_conan_matrix.py
|
||||
|
||||
- .github/actions/generate/action.yml
|
||||
- .github/actions/prepare_runner/action.yml
|
||||
- .github/scripts/conan/generate_matrix.py
|
||||
- .github/scripts/conan/init.sh
|
||||
|
||||
- conanfile.py
|
||||
- conan.lock
|
||||
push:
|
||||
@@ -23,7 +28,12 @@ on:
|
||||
- develop
|
||||
paths:
|
||||
- .github/workflows/upload_conan_deps.yml
|
||||
- .github/scripts/generate_conan_matrix.py
|
||||
|
||||
- .github/actions/generate/action.yml
|
||||
- .github/actions/prepare_runner/action.yml
|
||||
- .github/scripts/conan/generate_matrix.py
|
||||
- .github/scripts/conan/init.sh
|
||||
|
||||
- conanfile.py
|
||||
- conan.lock
|
||||
|
||||
@@ -41,7 +51,7 @@ jobs:
|
||||
|
||||
- name: Calculate conan matrix
|
||||
id: set-matrix
|
||||
run: .github/scripts/generate_conan_matrix.py >> "${GITHUB_OUTPUT}"
|
||||
run: .github/scripts/conan/generate_matrix.py >> "${GITHUB_OUTPUT}"
|
||||
|
||||
upload-conan-deps:
|
||||
name: Build ${{ matrix.compiler }}${{ matrix.sanitizer_ext }} ${{ matrix.build_type }}
|
||||
@@ -66,11 +76,10 @@ jobs:
|
||||
with:
|
||||
disable_ccache: true
|
||||
|
||||
- name: Setup conan
|
||||
- name: Setup conan on macOS
|
||||
if: runner.os == 'macOS'
|
||||
uses: ./.github/actions/setup_conan_macos
|
||||
with:
|
||||
conan_files_dir: docker/ci/conan/
|
||||
shell: bash
|
||||
run: ./.github/scripts/conan/init.sh
|
||||
|
||||
- name: Show conan profile
|
||||
run: conan profile show --profile:all ${{ env.CONAN_PROFILE }}
|
||||
|
||||
Reference in New Issue
Block a user