From 96532dc73ccc7cb727dc91f27827ae9f0b3120b0 Mon Sep 17 00:00:00 2001 From: Lukasz Dorau Date: Tue, 12 Nov 2024 15:05:38 +0100 Subject: [PATCH] Do not run tests under proxy lib if libumf is not a shared lib Do not run tests under the proxy library if libumf is not a shared library, because the proxy library is built only if libumf is a shared library. Signed-off-by: Lukasz Dorau --- .github/workflows/reusable_dax.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/reusable_dax.yml b/.github/workflows/reusable_dax.yml index b30cc0afc..f7c5d0d21 100644 --- a/.github/workflows/reusable_dax.yml +++ b/.github/workflows/reusable_dax.yml @@ -109,6 +109,8 @@ jobs: # TODO: enable the provider_devdax_memory_ipc test when the IPC tests with the proxy library are fixed # see the issue: https://github.com/oneapi-src/unified-memory-framework/issues/864 - name: Run the DEVDAX tests with the proxy library + # proxy library is built only if libumf is a shared library + if: ${{ matrix.shared_library == 'ON' }} working-directory: ${{env.BUILD_DIR}} run: > LD_PRELOAD=./lib/libumf_proxy.so @@ -119,6 +121,8 @@ jobs: # TODO: enable the provider_file_memory_ipc test when the IPC tests with the proxy library are fixed # see the issue: https://github.com/oneapi-src/unified-memory-framework/issues/864 - name: Run the FSDAX tests with the proxy library + # proxy library is built only if libumf is a shared library + if: ${{ matrix.shared_library == 'ON' }} working-directory: ${{env.BUILD_DIR}} run: > LD_PRELOAD=./lib/libumf_proxy.so