-
Notifications
You must be signed in to change notification settings - Fork 130
Running the worker on Windows
Read Running the worker: overview before installing the worker.
If you are a Linux user with a supported Windows platform, you can run the worker by:
- enabling Windows Subsystem for Linux (suggested Ubuntu 22.04), and
- simply following the Running the worker on Linux
MSYS2 is a software distribution and building platform for Windows. It provides a Unix-like environment, a command line interface, and a software repository, making it easy to install software on Windows or build software on Windows with the GCC compiler. The first setup may take between 8-20 minutes depending on your download bandwidth.
The setup installs Chocolatey, a Windows package manager, and MSYS2 using Chocolatey.
If you have already installed MSYS2, please uninstall it: the fishtest worker is expecting to have MSYS2 installed in C:\tools\msys64
- download and unzip the worker setup archive
- right click on
00_install_choco_msys2_admin.cmd
and selectRun as administrator
- double click on
02_install_worker.cmd
and write when asked: your fishtest username, your fishtest password, the number of CPU cores to be contributed - enter the newly created "worker" folder and double click on
fishtest.cmd
to start the fishtest worker. You can move the "worker" folder in your preferred place, you can rename the folder e.g. "worker_3_cores" and redo the point 3 to setup a new worker with a different number of cores - from time to time (suggested monthly) update Chocolatey and the MSYS2 packages:
- download the up to date worker setup archive
- stop the worker
- right click on
04_update_msys2_choco_admin.cmd
, selectRun as administrator
, and clickapprove
if requested. This requires a couple of minutes in a system updated regularly - start the worker
This video provides a tutorial on how to setup the worker on Windows 10.
- delete the
worker
folder - delete the
C:\tools\msys64
folder - delete the
C:\ProgramData\chocolatey
folder - optional: delete the Chocolatey variables according to the official uninstallation instruction
Update Windows 7 with the latest Service Pack. MSYS2 must be manually installed as Chocolatey installation on Windows 7 is not simple to automate.
- download and unzip the worker setup archive
- download and start the one-click installer for MSYS2, change the installation folder to
C:\tools\msys64
- double click on
02_install_worker.cmd
. You will be prompted to provide your fishtest username, your fishtest password, the number of CPU cores to contribute - navigate to your newly created "worker" folder and double click on
fishtest.cmd
to start the fishtest worker. You can move the "worker" folder to your preferred destination, you can rename the folder e.g. "worker_3_cores" and redo point 3 to setup a new worker with a different number of CPU cores - from time to time (suggested monthly) update the MSYS2 packages:
- stop the worker
- double click on
C:\tools\msys64\mingw64.exe
- execute the command
pacman -Syuu --noconfirm
- if asked to restart MSYS2 system: close the mingw64 window and repeat the previous 2 steps
- start the worker
- delete the
worker
folder - uninstall "MSYS2" from the Control Panel