forked from pub-solar/os
Update drone-config
This commit is contained in:
parent
bcf6ca5fe4
commit
7cfb646d67
|
@ -1,11 +1,12 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
type: exec
|
||||
name: Check
|
||||
node:
|
||||
hosttype: baremetal
|
||||
|
||||
steps:
|
||||
- name: "Check"
|
||||
image: docker.nix-community.org/nixpkgs/nix-flakes:latest
|
||||
when:
|
||||
event:
|
||||
- pull_request
|
||||
|
@ -20,6 +21,8 @@ steps:
|
|||
kind: pipeline
|
||||
type: exec
|
||||
name: Tests
|
||||
node:
|
||||
hosttype: baremetal
|
||||
|
||||
steps:
|
||||
- name: "Tests"
|
||||
|
@ -29,6 +32,7 @@ steps:
|
|||
- 'echo DEBUG: Using NIX_FLAGS: $NIX_FLAGS'
|
||||
- nix $$NIX_FLAGS build ".#checks.x86_64-linux.customTestFor-PubSolarOS-firstTest"
|
||||
- nix-store --read-log result
|
||||
- if [ ! -e /dev/kvm ]; then exit 1; fi
|
||||
- nix $$NIX_FLAGS flake check
|
||||
- nix $$NIX_FLAGS develop --command echo OK
|
||||
|
||||
|
@ -50,7 +54,6 @@ steps:
|
|||
- 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/test-wayland.out ~~/public/$${TARGET_DIR}/test-wayland.out
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
- 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:
|
||||
virtualisation.qemu.options = [ "-vga none -device virtio-gpu-pci" ];
|
||||
virtualisation.cores = 4;
|
||||
virtualisation.memorySize = 2048;
|
||||
virtualisation.cores = 2;
|
||||
virtualisation.memorySize = 512;
|
||||
};
|
||||
|
||||
enableOCR = true;
|
||||
|
|
Loading…
Reference in a new issue