-
Notifications
You must be signed in to change notification settings - Fork 67
36 lines (34 loc) · 1.25 KB
/
master.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
name: master
on: [ push ]
env:
# BASIC_PACKAGES is used fo the basic tools (make)
BASIC_PACKAGES: git build-essential ccache libgc-dev graphviz libunwind-dev libreadline-dev pkg-config
# MORE_PACKAGES is used for more tools and libs (make more)
MORE_PACKAGES: libgmp-dev libcurl4-openssl-dev libevent-dev openjdk-17-jdk-headless libgles-dev libegl-dev libsdl1.2-dev libsdl2-dev libsdl2-mixer-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-net-dev libsdl2-ttf-dev libgtk-3-dev inkscape postgresql libxdg-basedir-dev gettext libsqlite3-dev libpq-dev libmongoc-dev openmpi-bin libopenmpi-dev rename
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y $BASIC_PACKAGES $MORE_PACKAGES
- uses: actions/checkout@v4
- run: make
- uses: actions/upload-artifact@v4
with:
path: bin
name: bin
- run: make catalog
- uses: actions/upload-artifact@v4
with:
path: catalog.out/
name: catalog
- run: make docs
- uses: actions/upload-artifact@v4
with:
path: doc
name: doc
- run: make web -C share/man
- uses: actions/upload-artifact@v4
with:
path: share/man/www
name: man