Add riscv64 cross compilation to bsc-ci and hydra
This commit is contained in:
		
							parent
							
								
									d1e43dba34
								
							
						
					
					
						commit
						a9c8885535
					
				| @ -17,7 +17,7 @@ | ||||
|       legacyPackages.${system} = pkgs; | ||||
| 
 | ||||
|       hydraJobs = { | ||||
|         inherit (self.legacyPackages.${system}.bsc-ci) test pkgs; | ||||
|         inherit (self.legacyPackages.${system}.bsc-ci) test pkgs cross; | ||||
|       }; | ||||
| 
 | ||||
|       # propagate nixpkgs lib, so we can do bscpkgs.lib | ||||
|  | ||||
| @ -96,6 +96,10 @@ in bscPkgs // { | ||||
|     tests = final.runCommand "ci-tests" { } | ||||
|       "printf '%s\n' ${toString (collect isDerivation final.bsc-ci.test)} > $out"; | ||||
| 
 | ||||
|     cross = prev.lib.genAttrs [ "riscv64" ] (target: | ||||
|       final.pkgsCross.${target}.bsc-ci.pkgs | ||||
|     ); | ||||
| 
 | ||||
|     all = final.runCommand "ci-all" { } | ||||
|     '' | ||||
|       deps="${toString [ final.bsc-ci.pkgsList final.bsc-ci.tests ]}" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user