-
Notifications
You must be signed in to change notification settings - Fork 52
38 lines (35 loc) · 980 Bytes
/
main.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
name: CI
on: [push, pull_request]
jobs:
rv32emu:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: install-dependencies
run: |
sudo apt update
sudo apt-get install build-essential device-tree-compiler
sudo apt-get install libsdl2-dev libsdl2-2.0-0 libsdl2-image-dev libsdl2-image-2.0-0
sudo apt-get install libpixman-1-dev
sudo apt-get install expect
- name: default build
run: make
shell: bash
- name: Setup xvfb for screen 0
run: Xvfb :1 -screen 0 1600x1200x24 &
- name: automated test
run: .ci/autorun.sh
shell: bash
env:
DISPLAY: :1
- name: Tear down xvfb
run: killall Xvfb
coding_style:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: coding convention
run: |
sudo apt-get install -q -y clang-format-12
.ci/check-format.sh
shell: bash