Skip to content

Commit c94fc9b

Browse files
add build-linux.yml
1 parent 4969bb0 commit c94fc9b

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

.github/workflows/build-linux.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: 'Simple build for Linux'
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
7+
Build:
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- name: Install prerequisites
13+
run: |
14+
sudo apt update
15+
sudo apt-get install -y -q --no-install-recommends \
16+
build-essential \
17+
libgcrypt-dev \
18+
libglib2.0-dev \
19+
libpixman-1-dev \
20+
libsdl2-dev \
21+
libslirp-dev \
22+
ninja-build \
23+
python3-pip \
24+
libvte-2.91-dev \
25+
wget \
26+
zlib1g-dev
27+
# libgtk-3-dev # only needed for --enable-gtk
28+
# git \
29+
30+
- name: Compile it
31+
run: |
32+
cat /proc/cpuinfo
33+
make -j4 # how many cores?
34+
35+
- name: Dist artifacts (${{ matrix.target }} @ ${{ matrix.platform }})
36+
uses: actions/upload-artifact@v4
37+
with:
38+
name: qemu-system-xtensa
39+
path: build/qemu-system-xtensa
40+
41+

0 commit comments

Comments
 (0)