Skip to content

Commit 1411a3c

Browse files
committed
github: limit resource usage
We had a hanging build of the nixos tests. It might be we hit some IO or memory limit because of too much parallism. Try to limit resource usage a bit. Signed-off-by: Stefan Kober <stefan.kober@cyberus-technology.de> On-behalf-of: SAP stefan.kober@sap.com
1 parent 3a06bb5 commit 1411a3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/qa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
2121
- name: Build
2222
run: |
23-
nix build -Lv .#tests.x86_64-linux.openstack-default-setup.driver
23+
nix build -Lv --options max-jobs 2 --option cores 4 .#tests.x86_64-linux.openstack-default-setup.driver
2424
- name: Basic setup
2525
run: |
2626
nix run .#tests.x86_64-linux.openstack-default-setup.driver

0 commit comments

Comments
 (0)