-
Notifications
You must be signed in to change notification settings - Fork 14
44 lines (35 loc) · 1.06 KB
/
ci.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: CI
on:
# Trigger on push and pull-request events, on any branch
push:
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
schedule:
# At 12:00 on the 10th day of every month
- cron: '00 12 10 * *'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: update APT package sources
run: sudo apt-get update
- name: install build dependencies
run: sudo apt-get install libwebkit2gtk-4.0-dev libgtk-3-dev
- name: make
run: make
- name: install test dependencies
run: |
# virtual X11 framebuffer
sudo apt-get install xvfb
# compositor
sudo apt-get install compton
# root window background setter
sudo apt-get install hsetroot
# xwd: for taking a screenshot
sudo apt-get install x11-apps
# convert: for converting screenshot image format
sudo apt-get install imagemagick
- name: test
run: ./test.sh