diff --git a/.github/workflows/validation-windows.yml b/.github/workflows/validation-windows.yml index d84b44f62e..536b71d7b6 100644 --- a/.github/workflows/validation-windows.yml +++ b/.github/workflows/validation-windows.yml @@ -6,6 +6,7 @@ on: - 'tests/out/hlsl/*.hlsl' - 'tests/out/hlsl/*.ron' - 'xtask/**' + - 'hlsl-snapshots/**' jobs: validate-windows-dxc: diff --git a/Cargo.toml b/Cargo.toml index c7ee98e275..2f44f82033 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,7 +69,7 @@ bincode = "1" criterion = { version = "0.3", features = [] } diff = "0.1" env_logger = "0.9" -hlsl-snapshots = { path = "./xtask/hlsl-snapshots"} +hlsl-snapshots = { path = "./hlsl-snapshots"} # Require at least version 0.7.1 of ron, this version changed how floating points are # serialized by forcing them to always have the decimal part, this makes it backwards # incompatible with our tests because we do a syntatic diff and not a semantic one. diff --git a/xtask/hlsl-snapshots/Cargo.toml b/hlsl-snapshots/Cargo.toml similarity index 100% rename from xtask/hlsl-snapshots/Cargo.toml rename to hlsl-snapshots/Cargo.toml diff --git a/xtask/hlsl-snapshots/src/lib.rs b/hlsl-snapshots/src/lib.rs similarity index 100% rename from xtask/hlsl-snapshots/src/lib.rs rename to hlsl-snapshots/src/lib.rs diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index 4214df66f1..579c521ea5 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -8,12 +8,10 @@ publish = false anyhow = "1" env_logger = { version = "0.10.0", default-features = false } glob = "0.3.1" -hlsl-snapshots = { path = "./hlsl-snapshots"} +hlsl-snapshots = { path = "../hlsl-snapshots"} log = "0.4.17" pico-args = "0.5.0" shell-words = "1.1.0" which = "4.4.0" [workspace] - -members = [".", "./hlsl-snapshots"]