Add Ubuntu Jammy

This commit is contained in:
Jonas Kvinge 2022-01-08 21:48:41 +01:00
parent c9b6707468
commit ea419f6d40
1 changed files with 62 additions and 0 deletions

View File

@ -1057,6 +1057,68 @@ jobs:
shell: bash
run: dpkg-buildpackage -b -d -uc -us -nc -j2
build_ubuntu_jammy:
name: Build Ubuntu Jammy
runs-on: ubuntu-latest
container:
image: ubuntu:jammy
steps:
- uses: actions/checkout@v1.2.0
- name: Install Ubuntu dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: >
apt-get update && apt-get install -y
build-essential
dh-make
ssh
git
make
cmake
pkg-config
gcc
fakeroot
wget
curl
gettext
lsb-release
dpkg-dev
libglib2.0-dev
libboost-dev
libdbus-1-dev
libprotobuf-dev
protobuf-compiler
libsqlite3-dev
libgnutls28-dev
libasound2-dev
libpulse-dev
libtag1-dev
qtbase5-dev
qtbase5-dev-tools
qtbase5-private-dev
qttools5-dev
libqt5x11extras5-dev
libgstreamer1.0-dev
libgstreamer-plugins-base1.0-dev
libgstreamer-plugins-good1.0-dev
gstreamer1.0-alsa
gstreamer1.0-pulseaudio
libchromaprint-dev
libfftw3-dev
libcdio-dev
libmtp-dev
libgpod-dev
- name: Create Build Environment
shell: bash
run: cmake -E make_directory build
- name: Configure CMake
shell: bash
working-directory: build
run: cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_WERROR=ON
- name: make deb
shell: bash
run: dpkg-buildpackage -b -d -uc -us -nc -j2
build-macos-qt5:
name: Build macOS Qt 5