Skip to end of banner
Go to start of banner

How to setup WoA machine for python buildbot

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Current »

This page describes how to setup WoA machine to run python buildbot.

Credentials

Login/password is allocated by python buildbot administrators.

You can contact the three maintainers (together) for python buildbot server:

Register worker

To be able to connect worker, even with a password allocated, you need to add configuration on this project: https://github.com/python/buildmaster-config

Examples:

Install Visual Studio Build Tools

This is the command line portion of visual studio, download it from https://visualstudio.microsoft.com/downloads/ . (“Tools for Visual Studio 2019” → “Build Tools for Visual Studio 2019”)

The following components need to be selected from “Individual Components” during the installation

  • 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 or x64, but not ARM64) from the python release page. Earlier or later versions of python might also work without issues.

Note: If Python is not added by default to environment variable PATH, please go to “System Properties” -> “Environment Variables” and add the path

Deactivate Windows Firewall

To run python tests, the compiled python must be able to access network. Either you can run it once manually (and add exception when asked), or simply deactivate windows firewall.

Install and setup Buildbot

Script available at: https://gitlab.com/WindowsOnArm/external-ci/python/
You can automate service launch by following those instructions: Windows Service management . You need a user which can execute winget.exe (needed in a python test). Local SYSTEM account can’t.

  • No labels