Skip to content

Commit

Permalink
[ci] add VCS CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Avimitin committed Jul 29, 2024
1 parent 0d06908 commit e56251c
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions script/ci/src/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit e56251c

Please sign in to comment.