2019-04-18 22:42:19 +08:00
|
|
|
# Preparation steps
|
|
|
|
|
|
|
|
## Install a Windows image
|
2019-04-08 08:32:24 +08:00
|
|
|
|
|
|
|
```shell
|
2019-04-20 07:18:06 +08:00
|
|
|
nix-build install.nix -I artiqSrc=…/artiq
|
2019-04-18 22:42:19 +08:00
|
|
|
result/bin/windows-installer.sh
|
2019-04-08 08:32:24 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
Follow the instructions.
|
2019-04-08 23:41:05 +08:00
|
|
|
|
2019-04-18 22:42:19 +08:00
|
|
|
## Install Anaconda to the image
|
|
|
|
|
|
|
|
```shell
|
|
|
|
result/bin/anaconda-installer.sh
|
|
|
|
```
|
2019-04-08 23:41:05 +08:00
|
|
|
|
|
|
|
Move the image `c.img` to one of Nix' `extra-sandbox-paths` (`nix.sandboxPaths` on NixOS).
|
|
|
|
|
|
|
|
|
2019-04-18 21:54:06 +08:00
|
|
|
# Running the tests manually
|
2019-04-08 23:41:05 +08:00
|
|
|
|
|
|
|
```shell
|
2019-04-24 11:23:33 +08:00
|
|
|
nix-build --pure --arg diskImage "\"…/c.img\"" -I artiqSrc=…/artiq manual-test-run.nix
|
2019-04-08 23:41:05 +08:00
|
|
|
```
|