build Sayma satellite package
This commit is contained in:
parent
ac3803b1cf
commit
110f968199
|
@ -7,7 +7,7 @@
|
||||||
"main": {
|
"main": {
|
||||||
"enabled": 1,
|
"enabled": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"description": "Main ARTIQ packages",
|
"description": "Main ARTIQ packages and board support packages for HITL CI",
|
||||||
"nixexprinput": "nixScripts",
|
"nixexprinput": "nixScripts",
|
||||||
"nixexprpath": "main.nix",
|
"nixexprpath": "main.nix",
|
||||||
"checkinterval": 300,
|
"checkinterval": 300,
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
"sinara-systems": {
|
"sinara-systems": {
|
||||||
"enabled": 1,
|
"enabled": 1,
|
||||||
"hidden": false,
|
"hidden": false,
|
||||||
"description": "Board support artefacts for generic Sinara systems",
|
"description": "Board support packages for other Sinara systems",
|
||||||
"nixexprinput": "nixScripts",
|
"nixexprinput": "nixScripts",
|
||||||
"nixexprpath": "sinara-systems.nix",
|
"nixexprpath": "sinara-systems.nix",
|
||||||
"checkinterval": 86400,
|
"checkinterval": 86400,
|
||||||
|
|
|
@ -23,8 +23,7 @@ let
|
||||||
sha256 = "$HASH";
|
sha256 = "$HASH";
|
||||||
leaveDotGit = true;
|
leaveDotGit = true;
|
||||||
};
|
};
|
||||||
in
|
generic-kasli = pkgs.lib.lists.foldr (variant: start:
|
||||||
pkgs.lib.lists.foldr (variant: start:
|
|
||||||
let
|
let
|
||||||
json = builtins.toPath (src + "/\''${variant}.json");
|
json = builtins.toPath (src + "/\''${variant}.json");
|
||||||
boardBinaries = artiq-board {
|
boardBinaries = artiq-board {
|
||||||
|
@ -38,7 +37,15 @@ let
|
||||||
boardBinaries = boardBinaries;
|
boardBinaries = boardBinaries;
|
||||||
inherit target variant;
|
inherit target variant;
|
||||||
};
|
};
|
||||||
}) {} variants
|
}) {} variants;
|
||||||
|
in
|
||||||
|
generic-kasli // {
|
||||||
|
artiq-board-sayma-satellite = artiq-board {
|
||||||
|
target = "sayma";
|
||||||
|
variant = "satellite";
|
||||||
|
buildCommand = "python -m artiq.gateware.targets.sayma_rtm && python -m artiq.gateware.targets.sayma_amc -V satellite";
|
||||||
|
};
|
||||||
|
}
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
jobs = builtins.mapAttrs (key: value: pkgs.lib.hydraJob value) (import generatedNix { inherit pkgs; });
|
jobs = builtins.mapAttrs (key: value: pkgs.lib.hydraJob value) (import generatedNix { inherit pkgs; });
|
||||||
|
|
Loading…
Reference in New Issue