Skip to content

Cleanups

Cleanups #779

Workflow file for this run

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