diff options
Diffstat (limited to '.github/workflows/runtime.yml')
| -rw-r--r-- | .github/workflows/runtime.yml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml index 004d5a692..5514452c0 100644 --- a/.github/workflows/runtime.yml +++ b/.github/workflows/runtime.yml | |||
| @@ -35,12 +35,15 @@ on: | |||
| 35 | - "tools/lane_masks.py" | 35 | - "tools/lane_masks.py" |
| 36 | - "tools/mc_command.py" | 36 | - "tools/mc_command.py" |
| 37 | - "tools/mesh_compute_vs.py" | 37 | - "tools/mesh_compute_vs.py" |
| 38 | - "tools/native_pso_hashes.py" | ||
| 38 | - "tools/rdna2_decode.py" | 39 | - "tools/rdna2_decode.py" |
| 39 | - "tools/rdna2_isa_tables.py" | 40 | - "tools/rdna2_isa_tables.py" |
| 40 | - "tools/rdna2spirv.py" | 41 | - "tools/rdna2spirv.py" |
| 41 | - "tools/replace_retry.py" | 42 | - "tools/replace_retry.py" |
| 42 | - "tools/report_paths.py" | 43 | - "tools/report_paths.py" |
| 43 | - "tools/shader_carve.py" | 44 | - "tools/shader_carve.py" |
| 45 | - "tools/shader_carve_accel.py" | ||
| 46 | - "tools/shader_carve_native/**" | ||
| 44 | - "tools/shader_disasm.py" | 47 | - "tools/shader_disasm.py" |
| 45 | - "tools/shader_ir.py" | 48 | - "tools/shader_ir.py" |
| 46 | - "tools/shader_meta.py" | 49 | - "tools/shader_meta.py" |
| @@ -77,12 +80,15 @@ on: | |||
| 77 | - "tools/lane_masks.py" | 80 | - "tools/lane_masks.py" |
| 78 | - "tools/mc_command.py" | 81 | - "tools/mc_command.py" |
| 79 | - "tools/mesh_compute_vs.py" | 82 | - "tools/mesh_compute_vs.py" |
| 83 | - "tools/native_pso_hashes.py" | ||
| 80 | - "tools/rdna2_decode.py" | 84 | - "tools/rdna2_decode.py" |
| 81 | - "tools/rdna2_isa_tables.py" | 85 | - "tools/rdna2_isa_tables.py" |
| 82 | - "tools/rdna2spirv.py" | 86 | - "tools/rdna2spirv.py" |
| 83 | - "tools/replace_retry.py" | 87 | - "tools/replace_retry.py" |
| 84 | - "tools/report_paths.py" | 88 | - "tools/report_paths.py" |
| 85 | - "tools/shader_carve.py" | 89 | - "tools/shader_carve.py" |
| 90 | - "tools/shader_carve_accel.py" | ||
| 91 | - "tools/shader_carve_native/**" | ||
| 86 | - "tools/shader_disasm.py" | 92 | - "tools/shader_disasm.py" |
| 87 | - "tools/shader_ir.py" | 93 | - "tools/shader_ir.py" |
| 88 | - "tools/shader_meta.py" | 94 | - "tools/shader_meta.py" |
| @@ -108,7 +114,9 @@ concurrency: | |||
| 108 | jobs: | 114 | jobs: |
| 109 | windows: | 115 | windows: |
| 110 | runs-on: windows-latest | 116 | runs-on: windows-latest |
| 111 | timeout-minutes: 20 | 117 | # A build with a cold sccache took 18.3 min (main, 24 Nov), which left a 20-minute job under 2 min for the |
| 118 | # whole ctest run. The ctest step bounds each test on its own, so a hung test no longer needs this to stop it. | ||
| 119 | timeout-minutes: 35 | ||
| 112 | outputs: | 120 | outputs: |
| 113 | wine-artifact: ${{ steps.upload-wine-artifact.outcome }} | 121 | wine-artifact: ${{ steps.upload-wine-artifact.outcome }} |
| 114 | env: | 122 | env: |
| @@ -249,6 +257,7 @@ jobs: | |||
| 249 | -DCMAKE_BUILD_TYPE=RelWithDebInfo | 257 | -DCMAKE_BUILD_TYPE=RelWithDebInfo |
| 250 | -DLEONIDA_D3D12_SHIM_TESTS=ON | 258 | -DLEONIDA_D3D12_SHIM_TESTS=ON |
| 251 | -DLEONIDA_REQUIRE_VULKAN=ON | 259 | -DLEONIDA_REQUIRE_VULKAN=ON |
| 260 | -DLEONIDA_REQUIRE_XMA2_DECODER=ON | ||
| 252 | -DCMAKE_CXX_COMPILER_LAUNCHER=sccache | 261 | -DCMAKE_CXX_COMPILER_LAUNCHER=sccache |
| 253 | -DCMAKE_POLICY_DEFAULT_CMP0141=NEW | 262 | -DCMAKE_POLICY_DEFAULT_CMP0141=NEW |
| 254 | -DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded | 263 | -DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded |
| @@ -294,8 +303,10 @@ jobs: | |||
| 294 | runtime/build/windows-root.txt | 303 | runtime/build/windows-root.txt |
| 295 | retention-days: 7 | 304 | retention-days: 7 |
| 296 | if-no-files-found: error | 305 | if-no-files-found: error |
| 306 | # --timeout: a test without a TIMEOUT of its own fails after 5 min instead of the CTest default of 25, which | ||
| 307 | # is longer than the job. The slowest on Linux and macOS (xdxr_build_check) takes 50 and 106 s. | ||
| 297 | - name: CPU runtime tests | 308 | - name: CPU runtime tests |
| 298 | run: ctest --test-dir runtime/build --output-on-failure | 309 | run: ctest --test-dir runtime/build --output-on-failure --timeout 300 |
| 299 | 310 | ||
| 300 | # Runs the Windows build's tests under Wine, so a change that breaks the loader on Linux (through Wine or Proton) | 311 | # Runs the Windows build's tests under Wine, so a change that breaks the loader on Linux (through Wine or Proton) |
| 301 | # shows up. The required ones are the loader and the stand-in game run end to end; the table in the job summary | 312 | # shows up. The required ones are the loader and the stand-in game run end to end; the table in the job summary |