From 0aa1bafacec12c8d6850d920ba64e1caa2065dd0 Mon Sep 17 00:00:00 2001 From: Jamie Nicol Date: Mon, 16 Jun 2025 20:59:53 +0100 Subject: [PATCH] [CI] Install WARP for CTS run This means we use a reliable version rather than depending on whatever the worker has installed. --- .github/actions/install-warp/action.yml | 2 +- .github/workflows/cts.yml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/actions/install-warp/action.yml b/.github/actions/install-warp/action.yml index 03ed180d2..66aa303ae 100644 --- a/.github/actions/install-warp/action.yml +++ b/.github/actions/install-warp/action.yml @@ -20,6 +20,6 @@ runs: 7z.exe e warp.zip -owarp build/native/bin/x64/d3d10warp.dll for dir in ${{ inputs.target-dirs }}; do - mkdir -p ${{ inputs.target-dirs }} + mkdir -p "$dir" cp -v warp/d3d10warp.dll "$dir" done diff --git a/.github/workflows/cts.yml b/.github/workflows/cts.yml index 4120c2117..6c9da1d08 100644 --- a/.github/workflows/cts.yml +++ b/.github/workflows/cts.yml @@ -63,6 +63,16 @@ jobs: debug = 1 EOF + - name: (Windows) Install DXC + if: matrix.os == 'windows-2022' + uses: ./.github/actions/install-dxc + + - name: (Windows) Install WARP + if: matrix.os == 'windows-2022' + uses: ./.github/actions/install-warp + with: + target-dirs: "target/debug" + - name: (Linux) Install Mesa if: matrix.os == 'ubuntu-24.04' uses: ./.github/actions/install-mesa