-
Notifications
You must be signed in to change notification settings - Fork 64
57 lines (49 loc) · 1.26 KB
/
ubuntu-deb.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Ubuntu package
on:
push:
pull_request:
jobs:
build:
name: Ubuntu ${{ matrix.version }} package
strategy:
matrix:
version:
- 20.04
- 22.04
runs-on: ubuntu-22.04
container:
image: amd64/ubuntu:${{ matrix.version }}
options: --privileged
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Update packages
run: apt update
- name: Install packages
run: DEBIAN_FRONTEND=noninteractive apt install -y
build-essential
cmake
dpkg
git
libfmt-dev
libfontconfig1-dev
libfreetype6-dev
libmpg123-dev
libopenmpt-dev
libsdl2-mixer-dev
libsndfile-dev
libspeechd-dev
libturbojpeg0-dev
qtbase5-dev
qtbase5-dev-tools
qtmultimedia5-dev
- name: Build Ubuntu package
run: |
echo $(date +"%Y%m%d").$(echo $GITHUB_SHA | cut -b 1-7) > VERSION
./gargoyle-builddeb.sh
- name: Upload DEB
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v3
with:
name: Gargoyle-Ubuntu-${{ matrix.version }}
path: ~/deb_factory/gargoyle*.deb