From fd2e15ee737ea9a671619246129bc2aae7e0bfda Mon Sep 17 00:00:00 2001 From: Mehmet Cambaz <52370708+MehmetCambaz@users.noreply.github.com> Date: Sat, 26 Sep 2026 01:00:01 +0200 Subject: [PATCH] ci: run the recompiler unit tests (#447) Build and run the CPU-only resource_tracking, scalar_provenance, resource_materialization, and shader_vertex_metadata tests on Windows, macOS, and Linux. Each test executable is excluded from the default build, so add it to the explicit CMake targets and the matching CTest selection. Leave the Vulkan-dependent shader_recompiler_compute suite for a separate CI setup. --- .github/workflows/build.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c9f0c99..d499f983 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -112,12 +112,15 @@ jobs: - name: Build shell: cmd run: | - cmake --build _Build/windows --target launcher audio_out2_port_tests ime_dialog_tests lru_cache_tests virtual_memory_allocation_tests --parallel + cmake --build _Build/windows --target launcher ^ + audio_out2_port_tests ime_dialog_tests lru_cache_tests virtual_memory_allocation_tests ^ + resource_tracking_tests scalar_provenance_tests ^ + resource_materialization_tests shader_vertex_metadata_tests --parallel - name: Test shell: cmd run: | - ctest --test-dir _Build/windows --output-on-failure -R "^(audio_out2_port|ime_dialog|lru_cache|virtual_memory_allocation)$" + ctest --test-dir _Build/windows --output-on-failure -R "^(audio_out2_port|ime_dialog|lru_cache|resource_tracking|scalar_provenance|resource_materialization|shader_vertex_metadata|virtual_memory_allocation)$" - name: Install shell: cmd @@ -199,13 +202,15 @@ jobs: run: | cmake --build _Build/macos \ --target launcher audio_out2_port_tests ime_dialog_tests lru_cache_tests virtual_memory_allocation_tests \ + resource_tracking_tests scalar_provenance_tests \ + resource_materialization_tests shader_vertex_metadata_tests \ --parallel - name: Test shell: bash run: | ctest --test-dir _Build/macos --output-on-failure \ - -R '^(audio_out2_port|ime_dialog|lru_cache|virtual_memory_allocation)$' + -R '^(audio_out2_port|ime_dialog|lru_cache|resource_tracking|scalar_provenance|resource_materialization|shader_vertex_metadata|virtual_memory_allocation)$' - name: Install shell: bash @@ -380,13 +385,15 @@ jobs: cmake --build _Build/linux \ --target launcher page_manager_tests memory_tracker_tests \ audio_out2_port_tests ime_dialog_tests lru_cache_tests virtual_memory_allocation_tests \ + resource_tracking_tests scalar_provenance_tests \ + resource_materialization_tests shader_vertex_metadata_tests \ --parallel - name: Test shell: bash run: | ctest --test-dir _Build/linux --output-on-failure \ - -R '^(audio_out2_port|ime_dialog|lru_cache|page_manager|memory_tracker|virtual_memory_allocation)$' + -R '^(audio_out2_port|ime_dialog|lru_cache|memory_tracker|page_manager|resource_tracking|scalar_provenance|resource_materialization|shader_vertex_metadata|virtual_memory_allocation)$' - name: Install shell: bash