Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.25 KB

File metadata and controls

29 lines (22 loc) · 1.25 KB

CI Runner Setup

Windows

(in admin powershell)

  • Open powershell with admin
  • Run Set-ExecutionPolicy RemoteSigned
  • Open notepad as admin, save contents of windows.ps1 to C:\
  • Run windows.ps1
  • Make sure C:\Program Files\Git\bin and C:\Program Files\7-Zip are added to your path
  • Restart the terminal and run pip install pyyaml
  • Run GitHub set up steps
    • ./config.cmd --url https://github.com/ROCm --token {TOKEN} --windowslogonaccount --windowslogonpassword --no-default-labels --labels {LABEL}
    • Make sure to allow security access to group in config step
  • Run Stop-Service "actions.runner.*"
  • Make sure to stop the service, run the below command
  • In CMD, run powershell "(Get-Service actions.runner.*).name", then sc config "NAME_OF_YOUR_SERVICE" obj= "NT AUTHORITY\SYSTEM" type= own
  • After, restart the service as admin Start-Service "actions.runner.*"
  • You can confirm all works with Get-Service "actions.runner.*"

Linux

  • Please run ./script.sh
  • After that is all done, please run sudo ./svc.sh start. You should be able to see the job status after running that script.

Debugging

Please make sure to check the time of the machine. If it is ~ 5 mins off of the current time, it will not be able to set up.