Run compiler-explorer instance into github actions worker (windows vc2022)
You need set secrets on settings → (NGROK)
NGROK_AUTH_TOKEN
Needed only for NGROK modeTG_CHAT_ID
(optional) Telegram user id for get login urlTG_TOKEN
(optional) Telegram bot token for get message from bot
These steps should be useful for debugging broken builds directly on the build worker. Use this project as reference and toss the steps into your project after some failing part of the build for introspection.
- Get the tunnel auth token at: https://dashboard.ngrok.com/auth .
- Under the repository's settings, make a secret called
NGROK_AUTH_TOKEN
- If you want to send link via telegram bot make the secrets
TG_TOKEN
andTG_CHAT_ID
- Trigger a
ngrok-windows-compiler-explorer
in actions page. - Wait until the last step which will hang forever as it connects to ngrok and sets up the reverse tunnel.
- Wait for the message (
Open compiler-explorer from this address: http://...
) from last step in job page or from telegram bot to get url - Open URL and wait for ~10mins to compiler-explorer instance build and run then refresh the page to see page
- Enjoy! ☕
- When you're done introspecting, cancel the job.
- If you want to send link via telegram bot make the secrets
TG_TOKEN
andTG_CHAT_ID
- Trigger a
compiler-explorer-win-msvc-lt
in actions page. - Wait for the message (
your url is: https://...
) from last step in job page (~10 min) - Open URL and Enjoy! ☕
- When you're done introspecting, cancel the job.
- If you want to send link via telegram bot make the secrets
TG_TOKEN
andTG_CHAT_ID
- Trigger a
compiler-explorer-win-msvc-cf
in actions page. - Wait for the message (
Your quick Tunnel has been created! Visit it at (it may take some time to be reachable):
) from last step in job page (~10 min) - Open URL below this line and Enjoy! ☕
- When you're done introspecting, cancel the job.