From 5c718dae541dc3c250f3133302e0c7e4788cec4a Mon Sep 17 00:00:00 2001 From: Avimitin Date: Mon, 29 Jul 2024 20:57:39 +0800 Subject: [PATCH] [ci] add VCS CI --- script/ci/src/Main.scala | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/script/ci/src/Main.scala b/script/ci/src/Main.scala index 9faab1fa8..7992de065 100644 --- a/script/ci/src/Main.scala +++ b/script/ci/src/Main.scala @@ -170,21 +170,14 @@ object Main: os.Path( nixResolvePath( testAttr, - if testAttr == "vcs" then Seq("--impure") else Seq() + if testType == "vcs" then Seq("--impure") else Seq() ) ) catch case _ => Logger.error(s"Emulation for config $config, case $caseName fail") println("-" * 50) - println( - os.proc( - "nix", - "log", - s".#t1.$config.cases.$caseName.emu-result" - ).call() - .out - ) + println(os.proc("nix", "log", testAttr).call().out) println("-" * 50) Logger.fatal("Got error from emulation, exiting CI")