-
Notifications
You must be signed in to change notification settings - Fork 4
30 lines (28 loc) · 981 Bytes
/
unit.yml
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
name: Test suite
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install deps
run: sudo apt install liblua5.3-dev libusb-1.0-0-dev
- name: Quick install libui-dev
run: |
sudo mkdir /usr/local/lib/x86_64-linux-gnu
sudo wget https://github.com/petabyt/libui-cross/releases/download/2/libui.so -O /usr/lib/libui.so
sudo wget https://raw.githubusercontent.com/libui-ng/libui-ng/master/ui.h -O /usr/local/include/ui.h
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Get latest vcam
run: curl https://raw.githubusercontent.com/petabyt/vcam/master/install.sh | bash
- name: Compile desktop
run: cd desktop && make TARGET=l fudge.out
- name: Run desktop unit test
run: desktop/fudge.out --test-wifi