forked from M-Labs/nix-scripts
windows tests: update *, install full dependency list in install.nix
This commit is contained in:
parent
a0aa821dea
commit
2afaa9ddd3
|
@ -45,6 +45,28 @@ let
|
||||||
"${src}" "${sshUser}@localhost:${target}"
|
"${src}" "${sshUser}@localhost:${target}"
|
||||||
'';
|
'';
|
||||||
condaEnv = "artiq-env";
|
condaEnv = "artiq-env";
|
||||||
|
condaDependencies = [
|
||||||
|
"python >=3.5.3,<3.6"
|
||||||
|
"llvmlite-artiq 0.23.0.dev py35_5"
|
||||||
|
"binutils-or1k-linux >=2.27"
|
||||||
|
"pythonparser >=1.1"
|
||||||
|
"openocd 0.10.0 6"
|
||||||
|
"scipy"
|
||||||
|
"numpy"
|
||||||
|
"prettytable"
|
||||||
|
"asyncserial"
|
||||||
|
"h5py 2.8"
|
||||||
|
"python-dateutil"
|
||||||
|
"pyqt >=5.5"
|
||||||
|
"quamash"
|
||||||
|
"pyqtgraph 0.10.0"
|
||||||
|
"pygit2"
|
||||||
|
"aiohttp >=3"
|
||||||
|
"levenshtein"
|
||||||
|
];
|
||||||
|
condaPkgSpecs =
|
||||||
|
builtins.concatStringsSep " "
|
||||||
|
(map (s: "\"${s}\"") condaDependencies);
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "windows-installer";
|
name = "windows-installer";
|
||||||
|
@ -102,8 +124,10 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
${ssh "miniconda\\Scripts\\conda config --add channels conda-forge"}
|
${ssh "miniconda\\Scripts\\conda config --add channels conda-forge"}
|
||||||
${ssh "miniconda\\Scripts\\conda config --add channels m-labs"}
|
${ssh "miniconda\\Scripts\\conda config --add channels m-labs"}
|
||||||
|
${ssh "miniconda\\Scripts\\conda update -y conda"}
|
||||||
|
${ssh "miniconda\\Scripts\\conda update -y --all"}
|
||||||
${ssh "miniconda\\Scripts\\conda create -y -n ${condaEnv}"}
|
${ssh "miniconda\\Scripts\\conda create -y -n ${condaEnv}"}
|
||||||
${ssh "miniconda\\Scripts\\conda install -y -n ${condaEnv} numpy scipy python-dateutil h5py pythonparser levenshtein outputcheck llvmlite-artiq asyncserial"}
|
${ssh "miniconda\\Scripts\\conda install -y -n ${condaEnv} ${condaPkgSpecs}"}
|
||||||
${ssh "shutdown /p /f"}
|
${ssh "shutdown /p /f"}
|
||||||
|
|
||||||
echo "Waiting for qemu exit"
|
echo "Waiting for qemu exit"
|
||||||
|
|
Loading…
Reference in New Issue