Skip to content

Commit

Permalink
[ci] let pr workflow use test shell to run test case
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <dev@avimit.in>
  • Loading branch information
Avimitin committed Jul 29, 2023
1 parent ef46edf commit d62f152
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= minio.inner.fi.c-3.moe:gDg5SOIH65O0tTV89dUawME5BTmduWWaA7as/cqvevM=
extra-substituters = https://${{secrets.CACHE_DOMAIN}}/nix
- id: ci-run
run: nix develop -c make ci-run NAME=${{ matrix.name }}
run: nix develop .#testcase -c make ci-run NAME=${{ matrix.name }}

- uses: actions/upload-artifact@v3
if: always()
Expand Down
2 changes: 1 addition & 1 deletion build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ class RunVerilatorEmulator(elaboratorConfig: String, testTask: String, config: S
"COSIM_config" -> emulator(elaboratorConfig).configFile().toString,
"GLOG_logtostderr" -> logtostderr,
"PERF_output_file" -> perfFile
)
)
os.proc(Seq(emulator(elaboratorConfig).elf().path.toString)).call(env = runEnv, check = false).exitCode
}
}

0 comments on commit d62f152

Please sign in to comment.