fix: WorkQueue contention #6662
Workflow file for this run
This file contains hidden or 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
| name: Build | |
| on: | |
| push: | |
| branches: [release/*, develop] | |
| pull_request: | |
| branches: [release/*, develop] | |
| paths: | |
| - .github/workflows/build.yml | |
| - .github/workflows/reusable-build-test.yml | |
| - .github/workflows/reusable-build.yml | |
| - .github/workflows/reusable-test.yml | |
| - .github/workflows/reusable-upload-coverage-report.yml | |
| - ".github/actions/**" | |
| - "!.github/actions/build-docker-image/**" | |
| - "!.github/actions/create-issue/**" | |
| - CMakeLists.txt | |
| - conanfile.py | |
| - conan.lock | |
| - "cmake/**" | |
| - "src/**" | |
| - "tests/**" | |
| - docs/config-description.md | |
| workflow_dispatch: | |
| concurrency: | |
| # Develop branch: Each run gets unique group (using run_number) for parallel execution | |
| # Other branches: Shared group with cancel-in-progress to stop old runs when new commits are pushed | |
| group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref == 'refs/heads/develop' && github.run_number || 'branch' }} | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| build-and-test: | |
| name: Build and Test | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [heavy] | |
| conan_profile: [gcc, clang] | |
| build_type: [Release, Debug] | |
| container: | |
| [ | |
| '{ "image": "ghcr.io/xrplf/clio-ci:067449c3f8ae6755ea84752ea2962b589fe56c8f" }', | |
| ] | |
| static: [true] | |
| include: | |
| - os: macos15 | |
| conan_profile: apple-clang | |
| build_type: Release | |
| container: "" | |
| static: false | |
| uses: ./.github/workflows/reusable-build-test.yml | |
| with: | |
| runs_on: ${{ matrix.os }} | |
| container: ${{ matrix.container }} | |
| conan_profile: ${{ matrix.conan_profile }} | |
| build_type: ${{ matrix.build_type }} | |
| download_ccache: true | |
| upload_ccache: true | |
| static: ${{ matrix.static }} | |
| run_unit_tests: true | |
| run_integration_tests: false | |
| upload_clio_server: true | |
| code_coverage: | |
| name: Run Code Coverage | |
| uses: ./.github/workflows/reusable-build.yml | |
| with: | |
| runs_on: heavy | |
| container: '{ "image": "ghcr.io/xrplf/clio-ci:067449c3f8ae6755ea84752ea2962b589fe56c8f" }' | |
| conan_profile: gcc | |
| build_type: Debug | |
| download_ccache: true | |
| upload_ccache: true | |
| code_coverage: true | |
| static: true | |
| upload_clio_server: false | |
| targets: all | |
| analyze_build_time: false | |
| secrets: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| check_config: | |
| name: Check Config Description | |
| needs: build-and-test | |
| runs-on: heavy | |
| container: | |
| image: ghcr.io/xrplf/clio-ci:067449c3f8ae6755ea84752ea2962b589fe56c8f | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 | |
| with: | |
| name: clio_server_Linux_Release_gcc | |
| - name: Compare Config Description | |
| run: | | |
| repoConfigFile=docs/config-description.md | |
| configDescriptionFile=config_description_new.md | |
| chmod +x ./clio_server | |
| ./clio_server -d "${configDescriptionFile}" | |
| diff -u "${repoConfigFile}" "${configDescriptionFile}" |