aboutsummaryrefslogtreecommitdiff
path: root/docs/Github_runner_setup.md
blob: 6d949629d0c416c8968b59b2c38aad9c647975ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Github action runner setup

## Windows

See https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners for basic instructions.

A Hyper-V "Quick Create" of a `Windows 11 dev environment` can give you a head start when setting up an instance for testing purposes.

Beyond the basic install, I needed to:

* Install git using `winget install git.git`
* Install VS Pro using the instructions in [README.md](/README.md)
* Enable scripting using `Set-ExecutionPolicy -ExecutionPolicy Unrestricted` in an admin PowerShell instance
  * In the same admin PowerShell instance, disable firewall with `netsh advfirewall set currentprofile state off` to allow tests to run without firewall popups (TODO: research better options here as this does not seem ideal)
* Remember to close the Terminal window after installing the above and open a new window to invoke `run.cmd`