-
Notifications
You must be signed in to change notification settings - Fork 131
Running the worker on Windows
Read Running the worker 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
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 MSYS2 in C:\msys64
using winget, the Microsoft Windows package manager already installed on up-to-date Windows 11/10.
- Download and unzip the winget - fishtest worker setup archive
- Right click on
00_install_winget_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 the MSYS2 packages:
- Download the up to date winget - fishtest worker setup archive
- Stop the worker
- Double click on
04_update_msys2.cmd
. This requires a couple of minutes in a system updated regularly. Execute the script twice: the first run updates the core packages, the second one the applications packages. - Start the worker
- Delete the
worker
folder - Uninstall MSYS2 with
Installed Apps
(Windows 11) orApps and features
(Windows 10) - Delete the
C:\msys64
folder
The setup installs Chocolatey, a third-party Windows package manager, and MSYS2 in C:\tools\msys64
using Chocolatey.
If you have already installed MSYS2 in another folder, please uninstall it: the scripts are expecting to have MSYS2 installed in C:\tools\msys64
- Download and unzip the choco - fishtest 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 choco - fishtest 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 and updated.
- Download and unzip the choco - fishtest 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
- Delete the
C:\msys64
folder