mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-28 21:50:23 +00:00
ci: mitigate build overload
During the build meson attempts to distribute the workload of multiple sub-projects across all available CPUs and parallelize each build within those projects, resulting in an NxN task generation. This process could potentially overload the CI systems, leading to potential failures (see for example issue #202). To mitigate this, always use --jobs=1 during the CI run, which serializes the build of sub-projects and restricts the level of parallelization to N. Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
parent
3166338a74
commit
a20b0669bc
2
.github/workflows/build-scheds.yml
vendored
2
.github/workflows/build-scheds.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
||||
|
||||
# The actual build:
|
||||
- run: meson setup build -Dkernel=$(pwd)/linux -Dkernel_headers=./linux/usr/include
|
||||
- run: meson compile -C build
|
||||
- run: meson compile -C build --jobs=1
|
||||
|
||||
# Print CPU model before running the tests (this can be useful for
|
||||
# debugging purposes)
|
||||
|
Loading…
Reference in New Issue
Block a user