Debian Codegraph @

.github/workflows/ubuntu-deb.yml

raw symbols SCIP
1 name: Ubuntu package
2
3 on:
4 push:
5 pull_request:
6 workflow_dispatch:
7
8 jobs:
9 build:
10 name: Ubuntu ${{ matrix.version }} package
11 strategy:
12 matrix:
13 version:
14 - 20.04
15 - 22.04
16 - 24.04
17
18 runs-on: ubuntu-latest
19 container:
20 image: amd64/ubuntu:${{ matrix.version }}
21
22 steps:
23 - name: Checkout
24 uses: actions/checkout@v4
25
26 - name: Update packages
27 run: apt update
28
29 - name: Install packages
30 run: DEBIAN_FRONTEND=noninteractive apt install -y
31 build-essential
32 cmake
33 dpkg
34 git
35 libfmt-dev
36 libfontconfig1-dev
37 libfreetype6-dev
38 libmpg123-dev
39 libopenmpt-dev
40 libsdl2-mixer-dev
41 libsndfile-dev
42 libspeechd-dev
43 libturbojpeg0-dev
44 qtbase5-dev
45 qtbase5-dev-tools
46 qtmultimedia5-dev
47
48 - name: Build Ubuntu package
49 run: |
50 echo $(date +"%Y%m%d").$(echo $GITHUB_SHA | cut -b 1-7) > VERSION
51 ./gargoyle-builddeb.sh
52
53 - name: Upload DEB
54 if: github.event_name != 'pull_request'
55 uses: actions/upload-artifact@v4
56 with:
57 name: Gargoyle-Ubuntu-${{ matrix.version }}
58 path: ~/deb_factory/gargoyle*.deb