-
Notifications
You must be signed in to change notification settings - Fork 13
37 lines (29 loc) · 1.04 KB
/
build.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
name: build
on:
push:
branches:
pull_request:
branches:
schedule:
- cron: 0 8 * * 0
jobs:
build:
name: Test Build
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v2
- name: install packages
run: |
sudo apt update
sudo apt upgrade -y
sudo apt install -y build-essential ninja-build libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev libprotobuf-c-dev protobuf-compiler protobuf-c-compiler libcap-dev
pip install -r requirements.txt
- name: Checkout submodules
run: git submodule update --init
- name: Build QEMU
run: mkdir -p qemu/build/debug; cd qemu/build/debug; ./../../configure --target-list=arm-softmmu,riscv64-softmmu --enable-debug --enable-plugins --disable-sdl --disable-gtk --disable-curses --disable-vnc; make -j $(nproc --all); echo "done"
- name: Build Faultplugin
run: cd faultplugin; make -j; echo "done"
- name: Run ARCHIE
run: cd examples/stm32; ./run.sh; cd ../riscv64; ./run.sh