Commit a9be0f9
committed
kernel-build: make workspace tmpfs on codebuild runners
AWS CodeBuild runners have lots of mostly unused memory. And the
kernel build jobs do quite a bit of disk writes, which are never
actually read. This unnecessarily slows down the execution.
When running on CodeBuild, before executing the build, make sure
GITHUB_WORKSPACE directory is a tmpfs filesystem, to make use of
available memory and avoid unnecessary IO operations.
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>1 parent 417a5bd commit a9be0f9
File tree
2 files changed
+26
-0
lines changed- .github
- scripts
- workflows
2 files changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
| |||
0 commit comments