File tree 1 file changed +28
-1
lines changed
1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,40 @@ jobs:
11
11
build :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v2
14
+ - uses : actions/checkout@v3
15
15
- name : Preparing environment...
16
16
env :
17
17
NGROK_AUTH_TOKEN : ${{ secrets.NGROK_AUTH_TOKEN }}
18
18
VNC_PASSWORD : ${{ secrets.VNC_PASSWORD }}
19
19
# legacy run command script-- run: ./scripts/configure-legacy.sh
20
20
run : ./scripts/configure.sh
21
+
22
+ - name : Install Dependencies
23
+ run : sudo apt update && sudo apt install curl unzip qemu-system-x86 -y
24
+
25
+ - uses : hashicorp/setup-packer@main
26
+ with :
27
+ version : " 1.7.1"
28
+
29
+ - name : Install UEFI
30
+ if : matrix.architecture == 'x86-64'
31
+ run : |
32
+ bash -c "apt update
33
+ apt install ovmf
34
+ cp /usr/share/ovmf/OVMF.fd resources/ovmf.fd"
35
+
36
+ - name : Enable KVM
37
+ run : |
38
+ sudo apt install qemu-kvm
39
+ sudo adduser runner kvm
40
+ sudo chown runner /dev/kvm
41
+
42
+ - name : Clone
43
+ run : |
44
+ git clone https://github.com/cross-platform-actions/openbsd-builder.git
45
+ cd openbsd-builder
46
+ git checkout -b openbsd-7.5 origin/openbsd-7.5
47
+
21
48
- name : Starting VNC Server...
22
49
env :
23
50
VNC_SCREENSIZE : ${{ secrets.VNC_SCREENSIZE }}
You can’t perform that action at this time.
0 commit comments