-
Notifications
You must be signed in to change notification settings - Fork 6
33 lines (32 loc) · 1.1 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
name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Update APT
run: sudo apt-get update
- name: Install Dependencies
run: |
sudo apt-get install -y build-essential git make autoconf automake libtool \
pkg-config patchelf ninja-build gnome-desktop-testing libasound2-dev libpulse-dev \
libaudio-dev libjack-dev libsndio-dev libsamplerate0-dev libx11-dev libxext-dev \
libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libwayland-dev \
libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev \
libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev
- name: Pull Dependencies
run: make getdeps -j
- name: Build
run: make
- name: Artifact AppImage
uses: actions/upload-artifact@v3
with:
name: AppImage
path: love-main.AppImage
- name: Artifact Tape Archive
uses: actions/upload-artifact@v3
with:
name: tar.gz
path: love-main.tar.gz