forked from M-Labs/artiq
1
0
Fork 0

flake: run gateware simulations

This commit is contained in:
Sebastien Bourdeauducq 2023-01-09 18:36:55 +08:00
parent b9bfe090f4
commit cee9f3f44e
1 changed files with 12 additions and 0 deletions

View File

@ -436,6 +436,18 @@
hydraJobs = {
inherit (packages.x86_64-linux) artiq artiq-board-kc705-nist_clock openocd-bscanspi;
gateware-sim = pkgs.stdenvNoCC.mkDerivation {
name = "gateware-sim";
buildInputs = [
(pkgs.python3.withPackages(ps: with packages.x86_64-linux; [ migen misoc artiq ]))
];
phases = [ "buildPhase" ];
buildPhase =
''
python -m unittest discover -v artiq.gateware.test
touch $out
'';
};
kc705-hitl = pkgs.stdenvNoCC.mkDerivation {
name = "kc705-hitl";