Skip to content

Commit 85d47c4

Browse files
committed
CI: Run the main workflow on a self-hosted runner
We started experiencing timeouts on the default GitHub runners due to the lengthy setup time for the Yocto build environment. This change modifies the main CI workflow to utilize a self-hosted runner that has less computing limitations.
1 parent b2a08bc commit 85d47c4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ on:
1010
pull_request:
1111
branches:
1212
- '*'
13+
schedule: # This run is just to keep the self-hosted runner active. They get deleted after 14 days of inactivity.
14+
- cron: '0 8 * * 1' # Run weekly on Mondays at 9AM CET (8AM UTC)
1315

1416
jobs:
1517
build-test-vscode:
1618

17-
runs-on: ubuntu-latest
19+
# We need a faster runner with a Yocto cache in order for the tests to complete in time
20+
runs-on: self-hosted
1821

1922
defaults:
2023
run:

0 commit comments

Comments
 (0)