TODO: add link This page describes how to setup WoA machine to run python buildbot.
Access WoA machine in Linaro Farm
Please check out the following page for instructions on how to remotely access the linaro machinewoa machine
/wiki/spaces/TCWG/pages/22395192116
If setting up a new machine please remember to mark the machine as taken for python buildbot
Install Visual Studio Build Tools
...
MSVC v142 - VS 2019 C++ x64/x86 build tools (latest)
MSVC v142 - VS 2019 C++ ARM64 build tools (latest)
C++ ATL for latest v142 build tools (ARM64)
Windows 10 SDK
Versions 18362 and 19041 are known to work
See How to setup LLVM buildbots for Windows on Arm also if you run into any issues
Install Python
Install python 3.9.x ( 32-bit ) from the python release page. Earlier or later versions of python might also work without issues.
...
Buildbot can be installed in any location but it is preferable to install in C:\
to avoid hitting the maximum path limit on windows. Please run following commands to install buildbot-worker
Code Block | ||
---|---|---|
|
...
:: Create Directory for buildbot installation mkdir C:\Workspace cd C:\Workspace |
...
:: Create virtual venv python -m venv venv |
...
:: Activate venv .\venv\Scripts\activate |
...
:: Install buildbot-worker in virtual env python -m pip install pypiwin32 buildbot-worker |
Now create a worker using the following command
Code Block | ||
---|---|---|
| ||
buildbot-worker create-worker buildarea buildbot.python.org:9020 linaro-win-arm64 <PASSWORD> |
Password is allocated by python buildbot administrators. Instructions on how to access them will be added later.
Edit following files to add admin email address and host information
C:\Workspace\buildarea\info\admin
|
C:\Workspace\buildarea\info\host
|
Now create a batch file to run as a service
C:\Workspace\buildbot.bat
|
Now the script can be run as a service using RunAsRob tool. If RunAsRob is not installed please contact Maxim Kuvyrkov for the installer with license. Then setting up the tool is straightforward. You just have to install the tool and add created buildbot.bat
as one of the applications to RunAsRob.