diff options
Diffstat (limited to '.github/workflows/xma2-decoder.yml')
| -rw-r--r-- | .github/workflows/xma2-decoder.yml | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/.github/workflows/xma2-decoder.yml b/.github/workflows/xma2-decoder.yml index d7549a0f4..4f9d44480 100644 --- a/.github/workflows/xma2-decoder.yml +++ b/.github/workflows/xma2-decoder.yml | |||
| @@ -1,27 +1,19 @@ | |||
| 1 | # Builds and tests the legacy C++ runtime's Rust XMA2 FFI crate (runtime/xma_decoder/). | ||
| 2 | # The legacy C++ Vulkan runtime/ is deprecated in favor of the Rust DX12 runtime (d3d12/) and the new Rust Vulkan | ||
| 3 | # runtime (in progress), so automatic push and pull_request CI runs are disabled. Trigger manually via | ||
| 4 | # workflow_dispatch when needed. | ||
| 1 | name: XMA2 decoder | 5 | name: XMA2 decoder |
| 2 | 6 | ||
| 3 | on: | 7 | on: |
| 4 | push: | ||
| 5 | branches: [main] | ||
| 6 | paths: | ||
| 7 | - "runtime/xma_decoder/**" | ||
| 8 | - "third_party/xma/**" | ||
| 9 | - ".github/workflows/xma2-decoder.yml" | ||
| 10 | pull_request: | ||
| 11 | paths: | ||
| 12 | - "runtime/xma_decoder/**" | ||
| 13 | - "third_party/xma/**" | ||
| 14 | - ".github/workflows/xma2-decoder.yml" | ||
| 15 | workflow_dispatch: | 8 | workflow_dispatch: |
| 16 | 9 | ||
| 17 | permissions: | 10 | permissions: |
| 18 | contents: read | 11 | contents: read |
| 19 | 12 | ||
| 20 | concurrency: | 13 | concurrency: |
| 21 | # Pull requests coalesce and cancel superseded pending runs per number; a push gets its own group | 14 | # Each manual dispatch gets its own group so runs do not cancel each other. |
| 22 | # (run_id is unique per run), so a merge burst cannot replace queued main runs before they start. | 15 | group: xma2-decoder-${{ github.event_name }}-${{ github.run_id }} |
| 23 | group: xma2-decoder-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }} | 16 | cancel-in-progress: false |
| 24 | cancel-in-progress: ${{ github.event_name == 'pull_request' }} | ||
| 25 | 17 | ||
| 26 | jobs: | 18 | jobs: |
| 27 | windows-ffi: | 19 | windows-ffi: |