From 5882395e9eb0e1612fbc1b4a3130a2584f71f30a Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sat, 9 Mar 2024 17:40:39 +0000 Subject: [PATCH] fixup! ci: Test CMake edge cases Add "Linux 64-bit, multiprocess" task. --- .github/workflows/cmake.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index f579d1164e6b22..e6c79d42d34195 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -275,6 +275,10 @@ jobs: # For -Wno-error=unreachable-code, please refer to https://github.com/bitcoin/bitcoin/issues/29334 configure_env: 'env CXXFLAGS="-Wno-error=unreachable-code"' configure_options: '-DWERROR=ON' + - name: 'Linux 64-bit, multiprocess' + triplet: 'x86_64-pc-linux-gnu' + depends_options: 'MULTIPROCESS=1' + configure_options: '-DWERROR=ON' - name: 'MinGW-w64' triplet: 'x86_64-w64-mingw32' packages: 'g++-mingw-w64-x86-64-posix' @@ -386,7 +390,7 @@ jobs: key: ${{ matrix.host.triplet }}${{ matrix.host.cache_suffix }}-ccache-${{ github.run_id }} - name: Test - if: ${{ matrix.host.triplet == 'i686-pc-linux-gnu' }} + if: ${{ matrix.host.triplet == 'i686-pc-linux-gnu' || matrix.host.triplet == 'x86_64-pc-linux-gnu' }} run: | ctest --test-dir build -j $(nproc)