-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathaction.yml
More file actions
83 lines (81 loc) · 2.83 KB
/
Copy pathaction.yml
File metadata and controls
83 lines (81 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: '{{VM_NAME}}-vm'
description: 'Test in a real {{VM_NAME}} virtual machine on GitHub Actions -- QEMU-powered, with SSH and two-way folder sync'
inputs:
osname:
description: 'The OS name'
required: true
default: '{{VM_OS_NAME}}'
prepare:
description: 'Install some tools before CI runs'
required: false
run:
description: 'The CI command to run'
required: false
release:
description: 'The release version of {{VM_NAME}} vm. Only the leading, "." separated part of it is enough, the newest matching release is used.'
required: false
arch:
description: 'The cpu architecture of {{VM_NAME}} vm'
required: false
envs:
description: 'The envs to pass into {{VM_NAME}} vm'
required: false
mem:
description: 'Set the memory size of the vm'
required: false
default: '6144'
cpu:
description: 'Set the cpu cores of the vm'
required: false
nat:
description: 'The NAT ports to {{VM_NAME}} vm'
required: false
usesh:
description: 'Deprecated and ignored. The prepare/run scripts are always executed with sh.'
required: false
sync:
description: 'How to synchronize the source code to/from the VM. Default is rsync.'
required: false
copyback:
description: 'Whether or not to copy the build result repo back from the VM to the host runner. Default is true.'
required: false
debug:
description: 'output debug message'
required: false
data-dir:
description: 'Directory to store VM data/images.'
required: false
cache-dir:
description: 'Directory to store anyvm cache. If set, overrides default temp cache path.'
required: false
sync-time:
description: 'Synchronize the VM time with the ntp. Default is false.'
required: false
disable-cache:
description: 'Disable caching for apt packages and VM images. Default is false.'
required: false
default: 'false'
cache-after-prepare:
description: 'Cache the VM image again after the prepare step, so later runs with the same prepare script skip it and start directly at run. Default is false.'
required: false
default: 'false'
debug-on-error:
description: 'If true, enable remote VNC and you can connect to the VM via web VNC page to debug. Default is false.'
required: false
default: ''
vnc-password:
description: 'The VNC password. Default is empty.'
required: false
default: ''
custom-shell-name:
description: 'Custom shell name for the VM shell wrapper script.'
required: false
outputs:
cache-after-prepare-hit:
description: 'true when a prepared VM image cache was restored and the prepare step was skipped, false otherwise.'
branding:
icon: '{{VM_BRAND_ICON}}'
color: '{{VM_BRAND_COLOR}}'
runs:
using: 'node24'
main: 'index.js'