forked from sysprog21/rv32emu
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (41 loc) · 1.1 KB
/
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
39
40
41
42
43
44
name: CI
on: [push, pull_request]
jobs:
rv32emu:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: install-dependencies
run: |
sudo apt-get update
sudo apt-get install libsdl2-dev libsdl2-mixer-dev
sh .ci/riscv-toolchain-install.sh
shell: bash
- name: default build
run: make
- name: check + tests
run: |
make check
make tests
make misalign
make ENABLE_ARC=1 clean all
make ENABLE_ARC=1 tests
- name: diverse configurations
run: |
make distclean ENABLE_EXT_C=0 check
make distclean ENABLE_EXT_F=0 check
make distclean ENABLE_GDBSTUB=0 check
make distclean ENABLE_SDL=0 check
- name: gdbstub test
run: |
make gdbstub-test
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-newline.sh
.ci/check-format.sh
shell: bash