Merge branch 'feature/update-drone-config-for-kvm-tests' into teutat3s-drone-exec-runner
This commit is contained in:
commit
be627327c3
|
@ -1,11 +1,12 @@
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: exec
|
||||||
name: Check
|
name: Check
|
||||||
|
node:
|
||||||
|
hosttype: baremetal
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Check"
|
- name: "Check"
|
||||||
image: docker.nix-community.org/nixpkgs/nix-flakes:latest
|
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
@ -20,6 +21,8 @@ steps:
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: exec
|
type: exec
|
||||||
name: Tests
|
name: Tests
|
||||||
|
node:
|
||||||
|
hosttype: baremetal
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Tests"
|
- name: "Tests"
|
||||||
|
@ -29,6 +32,7 @@ steps:
|
||||||
- 'echo DEBUG: Using NIX_FLAGS: $NIX_FLAGS'
|
- 'echo DEBUG: Using NIX_FLAGS: $NIX_FLAGS'
|
||||||
- nix $$NIX_FLAGS build ".#checks.x86_64-linux.customTestFor-PubSolarOS-firstTest"
|
- nix $$NIX_FLAGS build ".#checks.x86_64-linux.customTestFor-PubSolarOS-firstTest"
|
||||||
- nix-store --read-log result
|
- nix-store --read-log result
|
||||||
|
- if [ ! -e /dev/kvm ]; then exit 1; fi
|
||||||
- nix $$NIX_FLAGS flake check
|
- nix $$NIX_FLAGS flake check
|
||||||
- nix $$NIX_FLAGS develop --command echo OK
|
- nix $$NIX_FLAGS develop --command echo OK
|
||||||
|
|
||||||
|
@ -50,7 +54,6 @@ steps:
|
||||||
- cd tritonshell
|
- cd tritonshell
|
||||||
- nix develop --command mput -p -f ../result/foot_wayland_info.png ~~/public/$${TARGET_DIR}/foot_wayland_info.png
|
- nix develop --command mput -p -f ../result/foot_wayland_info.png ~~/public/$${TARGET_DIR}/foot_wayland_info.png
|
||||||
- nix develop --command mput -p -f ../result/test-wayland.out ~~/public/$${TARGET_DIR}/test-wayland.out
|
- nix develop --command mput -p -f ../result/test-wayland.out ~~/public/$${TARGET_DIR}/test-wayland.out
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/tags/v*
|
- refs/tags/v*
|
||||||
|
|
|
@ -42,8 +42,8 @@
|
||||||
|
|
||||||
# Need to switch to a different GPU driver than the default one (-vga std) so that Sway can launch:
|
# Need to switch to a different GPU driver than the default one (-vga std) so that Sway can launch:
|
||||||
virtualisation.qemu.options = [ "-vga none -device virtio-gpu-pci" ];
|
virtualisation.qemu.options = [ "-vga none -device virtio-gpu-pci" ];
|
||||||
virtualisation.cores = 4;
|
virtualisation.cores = 2;
|
||||||
virtualisation.memorySize = 2048;
|
virtualisation.memorySize = 512;
|
||||||
};
|
};
|
||||||
|
|
||||||
enableOCR = true;
|
enableOCR = true;
|
||||||
|
|
Loading…
Reference in a new issue