Merge bitcoin-core/gui-qml#804: Improve debug log performance #232
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 and Test | |
| on: | |
| push: | |
| branches: [ "**" ] | |
| pull_request: | |
| branches: [ "**" ] | |
| jobs: | |
| linux: | |
| name: ${{ matrix.job_name }} | |
| runs-on: ${{ matrix.image }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - job_name: 'Ubuntu 24.04, Qt 6.4' | |
| image: ubuntu-24.04 | |
| - job_name: 'Ubuntu 26.04, Qt 6.10' | |
| image: ubuntu-26.04 | |
| env: | |
| BUILD_APP_TESTS: ON | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| build-essential \ | |
| cmake \ | |
| ninja-build \ | |
| pkg-config \ | |
| libsqlite3-dev \ | |
| zlib1g-dev \ | |
| libboost-all-dev \ | |
| qt6-base-dev \ | |
| qt6-base-dev-tools \ | |
| qt6-tools-dev \ | |
| qt6-l10n-tools \ | |
| qt6-tools-dev-tools \ | |
| qt6-declarative-dev \ | |
| qml6-module-qt-labs-settings \ | |
| qml6-module-qtquick \ | |
| qml6-module-qtquick-controls \ | |
| qml6-module-qtquick-dialogs \ | |
| qml6-module-qtquick-layouts \ | |
| qml6-module-qtquick-templates \ | |
| qml6-module-qtquick-window \ | |
| qml6-module-qtqml \ | |
| qml6-module-qtqml-workerscript \ | |
| libgl-dev \ | |
| libqrencode-dev | |
| - name: Install test dependencies | |
| if: env.BUILD_APP_TESTS == 'ON' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| libgtest-dev \ | |
| libgmock-dev | |
| - name: Configure (CMake) | |
| run: | | |
| cmake -S . -B build -G Ninja \ | |
| -DCMAKE_BUILD_TYPE=Release \ | |
| -DBUILD_APP_TESTS=${{ env.BUILD_APP_TESTS }} \ | |
| -DENABLE_IPC=OFF | |
| - name: Build | |
| run: cmake --build build --parallel | |
| - name: Run tests | |
| if: env.BUILD_APP_TESTS == 'ON' | |
| run: ctest --test-dir build --output-on-failure |