mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-01 17:15:52 +00:00
2
.github/actions/code_coverage/action.yml
vendored
2
.github/actions/code_coverage/action.yml
vendored
@@ -14,7 +14,7 @@ runs:
|
|||||||
gcovr -e unittests --xml build/coverage_report.xml -j8 --exclude-throw-branches
|
gcovr -e unittests --xml build/coverage_report.xml -j8 --exclude-throw-branches
|
||||||
|
|
||||||
- name: Archive coverage report
|
- name: Archive coverage report
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: coverage-report.xml
|
name: coverage-report.xml
|
||||||
path: build/coverage_report.xml
|
path: build/coverage_report.xml
|
||||||
|
|||||||
4
.github/actions/restore_cache/action.yml
vendored
4
.github/actions/restore_cache/action.yml
vendored
@@ -44,14 +44,14 @@ runs:
|
|||||||
echo "hash=$hash" >> $GITHUB_OUTPUT
|
echo "hash=$hash" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Restore conan cache
|
- name: Restore conan cache
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
id: conan_cache
|
id: conan_cache
|
||||||
with:
|
with:
|
||||||
path: ${{ inputs.conan_dir }}/data
|
path: ${{ inputs.conan_dir }}/data
|
||||||
key: clio-conan_data-${{ runner.os }}-${{ inputs.build_type }}-develop-${{ steps.conan_hash.outputs.hash }}
|
key: clio-conan_data-${{ runner.os }}-${{ inputs.build_type }}-develop-${{ steps.conan_hash.outputs.hash }}
|
||||||
|
|
||||||
- name: Restore ccache cache
|
- name: Restore ccache cache
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
id: ccache_cache
|
id: ccache_cache
|
||||||
if: ${{ env.CCACHE_DISABLE != '1' }}
|
if: ${{ env.CCACHE_DISABLE != '1' }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
4
.github/actions/save_cache/action.yml
vendored
4
.github/actions/save_cache/action.yml
vendored
@@ -41,14 +41,14 @@ runs:
|
|||||||
|
|
||||||
- name: Save conan cache
|
- name: Save conan cache
|
||||||
if: ${{ inputs.conan_cache_hit != 'true' }}
|
if: ${{ inputs.conan_cache_hit != 'true' }}
|
||||||
uses: actions/cache/save@v3
|
uses: actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ inputs.conan_dir }}/data
|
path: ${{ inputs.conan_dir }}/data
|
||||||
key: clio-conan_data-${{ runner.os }}-${{ inputs.build_type }}-develop-${{ inputs.conan_hash }}
|
key: clio-conan_data-${{ runner.os }}-${{ inputs.build_type }}-develop-${{ inputs.conan_hash }}
|
||||||
|
|
||||||
- name: Save ccache cache
|
- name: Save ccache cache
|
||||||
if: ${{ inputs.ccache_cache_hit != 'true' || inputs.ccache_cache_miss_rate == '100.0' }}
|
if: ${{ inputs.ccache_cache_hit != 'true' || inputs.ccache_cache_miss_rate == '100.0' }}
|
||||||
uses: actions/cache/save@v3
|
uses: actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: ${{ inputs.ccache_dir }}
|
path: ${{ inputs.ccache_dir }}
|
||||||
key: clio-ccache-${{ runner.os }}-${{ inputs.build_type }}${{ inputs.code_coverage == 'true' && '-code_coverage' || '' }}-develop-${{ steps.git_common_ancestor.outputs.commit }}
|
key: clio-ccache-${{ runner.os }}-${{ inputs.build_type }}${{ inputs.code_coverage == 'true' && '-code_coverage' || '' }}-develop-${{ steps.git_common_ancestor.outputs.commit }}
|
||||||
|
|||||||
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -123,14 +123,14 @@ jobs:
|
|||||||
run: strip build/clio_tests
|
run: strip build/clio_tests
|
||||||
|
|
||||||
- name: Upload clio_server
|
- name: Upload clio_server
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: clio_server_${{ runner.os }}_${{ matrix.build_type }}
|
name: clio_server_${{ runner.os }}_${{ matrix.build_type }}
|
||||||
path: build/clio_server
|
path: build/clio_server
|
||||||
|
|
||||||
- name: Upload clio_tests
|
- name: Upload clio_tests
|
||||||
if: ${{ !matrix.code_coverage }}
|
if: ${{ !matrix.code_coverage }}
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: clio_tests_${{ runner.os }}
|
name: clio_tests_${{ runner.os }}
|
||||||
path: build/clio_tests
|
path: build/clio_tests
|
||||||
@@ -179,7 +179,7 @@ jobs:
|
|||||||
if: ${{ runner.os == 'macOS' }}
|
if: ${{ runner.os == 'macOS' }}
|
||||||
uses: kuznetsss/workspace-cleanup@1.0
|
uses: kuznetsss/workspace-cleanup@1.0
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: clio_tests_${{ runner.os }}
|
name: clio_tests_${{ runner.os }}
|
||||||
- name: Run clio_tests
|
- name: Run clio_tests
|
||||||
|
|||||||
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
image: rippleci/clio_ci:latest
|
image: rippleci/clio_ci:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
lfs: true
|
lfs: true
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
cmake ../docs && cmake --build . --target docs
|
cmake ../docs && cmake --build . --target docs
|
||||||
|
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
uses: actions/configure-pages@v3
|
uses: actions/configure-pages@v4
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
|
|||||||
8
.github/workflows/nightly.yml
vendored
8
.github/workflows/nightly.yml
vendored
@@ -56,7 +56,7 @@ jobs:
|
|||||||
run: strip build/clio_tests
|
run: strip build/clio_tests
|
||||||
|
|
||||||
- name: Upload clio_tests
|
- name: Upload clio_tests
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: clio_tests_${{ runner.os }}_${{ matrix.build_type }}
|
name: clio_tests_${{ runner.os }}_${{ matrix.build_type }}
|
||||||
path: build/clio_tests
|
path: build/clio_tests
|
||||||
@@ -68,7 +68,7 @@ jobs:
|
|||||||
tar czf ./clio_server_${{ runner.os }}_${{ matrix.build_type }}.tar.gz ./clio_server
|
tar czf ./clio_server_${{ runner.os }}_${{ matrix.build_type }}.tar.gz ./clio_server
|
||||||
|
|
||||||
- name: Upload clio_server
|
- name: Upload clio_server
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: clio_server_${{ runner.os }}_${{ matrix.build_type }}
|
name: clio_server_${{ runner.os }}_${{ matrix.build_type }}
|
||||||
path: build/clio_server_${{ runner.os }}_${{ matrix.build_type }}.tar.gz
|
path: build/clio_server_${{ runner.os }}_${{ matrix.build_type }}.tar.gz
|
||||||
@@ -93,7 +93,7 @@ jobs:
|
|||||||
if: ${{ runner.os == 'macOS' }}
|
if: ${{ runner.os == 'macOS' }}
|
||||||
uses: kuznetsss/workspace-cleanup@1.0
|
uses: kuznetsss/workspace-cleanup@1.0
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: clio_tests_${{ runner.os }}_${{ matrix.build_type }}
|
name: clio_tests_${{ runner.os }}_${{ matrix.build_type }}
|
||||||
|
|
||||||
@@ -113,7 +113,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: nightly_release
|
path: nightly_release
|
||||||
|
|
||||||
|
|||||||
6
.github/workflows/upload_coverage_report.yml
vendored
6
.github/workflows/upload_coverage_report.yml
vendored
@@ -16,16 +16,16 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Download report artifact
|
- name: Download report artifact
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: coverage-report.xml
|
name: coverage-report.xml
|
||||||
path: build
|
path: build
|
||||||
|
|
||||||
- name: Upload coverage report
|
- name: Upload coverage report
|
||||||
if: ${{ hashFiles('build/coverage_report.xml') != '' }}
|
if: ${{ hashFiles('build/coverage_report.xml') != '' }}
|
||||||
uses: wandalen/wretry.action@v1.3.0
|
uses: wandalen/wretry.action@v1.4.10
|
||||||
with:
|
with:
|
||||||
action: codecov/codecov-action@v3
|
action: codecov/codecov-action@v4
|
||||||
with: |
|
with: |
|
||||||
files: build/coverage_report.xml
|
files: build/coverage_report.xml
|
||||||
fail_ci_if_error: false
|
fail_ci_if_error: false
|
||||||
|
|||||||
Reference in New Issue
Block a user