forked from M-Labs/nix-scripts
artiq-fast: temporarily skip Windoze tests for ARTIQ-7
llvmlite needs to be rebuilt, and doing that on top of the anaconda/conda-forge LLVM packages is an even bigger PITA than usual (Visual Studio update required + new incomprehensible conda dep handler bugs). https://github.com/numba/llvmlite/pull/775 https://github.com/numba/llvmlite/pull/702 Users of filthy Microsoft crapware can either install an operating system or wait for upstream and anaconda/conda-forge to update.
This commit is contained in:
parent
ecf6d1258a
commit
09fd2cf946
|
@ -33,10 +33,21 @@ let
|
||||||
'';
|
'';
|
||||||
artiqpkgs = import "${generatedNix}/default.nix" { inherit pkgs; };
|
artiqpkgs = import "${generatedNix}/default.nix" { inherit pkgs; };
|
||||||
artiqVersion = import "${generatedNix}/pkgs/artiq-version.nix" (with pkgs; { inherit stdenv fetchgit git; });
|
artiqVersion = import "${generatedNix}/pkgs/artiq-version.nix" (with pkgs; { inherit stdenv fetchgit git; });
|
||||||
windowsRunner = overrides:
|
windowsRunner =
|
||||||
|
if (pkgs.lib.versionAtLeast artiqVersion "7.0")
|
||||||
|
then
|
||||||
|
(overrides:
|
||||||
|
pkgs.writeScriptBin "wfvm-run-windows-tests"
|
||||||
|
''
|
||||||
|
${pkgs.bash}/bin/bash
|
||||||
|
echo "Windows tests skipped"
|
||||||
|
''
|
||||||
|
)
|
||||||
|
else
|
||||||
|
(overrides:
|
||||||
import "${generatedNix}/windows/run-test.nix" ({
|
import "${generatedNix}/windows/run-test.nix" ({
|
||||||
inherit pkgs artiqpkgs;
|
inherit pkgs artiqpkgs;
|
||||||
} // overrides);
|
} // overrides));
|
||||||
jobs = (builtins.mapAttrs (key: value: pkgs.lib.hydraJob value) artiqpkgs);
|
jobs = (builtins.mapAttrs (key: value: pkgs.lib.hydraJob value) artiqpkgs);
|
||||||
in
|
in
|
||||||
jobs // {
|
jobs // {
|
||||||
|
|
Loading…
Reference in New Issue