-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (26 loc) · 1.05 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
name: Build and Package Dependencies
on: [push]
jobs:
build-release:
# Ideally we'd be able to run on an older version of ubuntu (mainly for the glibc version), but unfortunately we need a pretty recent version of autoconf!
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'true'
- name: Install deps
run: |
sudo apt update
sudo apt install python3 gcc g++ autoconf autoconf-archive cmake automake make meson gtk-doc-tools libtool ninja-build xorg-dev texi2html texinfo gperf gettext autopoint chrpath ragel autogen libx11-xcb-dev libx11-dev libxrender-dev libtool libtool-bin
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Build and Package
run: |
python3 build.py --verbose
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
path: release-linux-x86_64.tar.gz