forked from a159x36/qemu
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (37 loc) · 1.09 KB
/
build-linux.yml
File metadata and controls
46 lines (37 loc) · 1.09 KB
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: 'Simple build for Linux'
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install prerequisites
run: |
sudo apt update
sudo apt-get install -y -q --no-install-recommends \
build-essential \
libgcrypt-dev \
libglib2.0-dev \
libpixman-1-dev \
libsdl2-dev \
libslirp-dev \
ninja-build \
python3-pip \
libvte-2.91-dev \
wget \
zlib1g-dev
# Not needed:
# libgtk-3-dev # only needed for --enable-gtk
# git \
- name: Configure
run: |
./configure --target-list=xtensa-softmmu --enable-gcrypt --enable-slirp --enable-debug --enable-vte --enable-stack-protector
- name: Compile
run: |
make -j4
- name: Save artifacts
uses: actions/upload-artifact@v4
with:
name: qemu-system-xtensa
path: build/qemu-system-xtensa