mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Build for Ubuntu 24.04 (#5562)
This commit is contained in:
parent
627c735524
commit
6e104bde7e
|
@ -12,7 +12,7 @@ install_prefix="appdir/usr"
|
||||||
# The directory we finally pack into our .deb package
|
# The directory we finally pack into our .deb package
|
||||||
packaging_dir="package"
|
packaging_dir="package"
|
||||||
|
|
||||||
# Get the Ubuntu Release (e.g. 20.04 or 22.04)
|
# Get the Ubuntu Release (e.g. 20.04, 22.04 or 24.04)
|
||||||
ubuntu_release="$(lsb_release -rs)"
|
ubuntu_release="$(lsb_release -rs)"
|
||||||
|
|
||||||
# The final path where we'll save the .deb package
|
# The final path where we'll save the .deb package
|
||||||
|
@ -22,11 +22,15 @@ deb_path="Chatterino-ubuntu-${ubuntu_release}-x86_64.deb"
|
||||||
case "$ubuntu_release" in
|
case "$ubuntu_release" in
|
||||||
20.04)
|
20.04)
|
||||||
# Qt6 static-linked deb, see https://github.com/Chatterino/docker
|
# Qt6 static-linked deb, see https://github.com/Chatterino/docker
|
||||||
dependencies="libc6, libstdc++6, libblkid1, libbsd0, libc6, libexpat1, libffi7, libfontconfig1, libfreetype6, libglib2.0-0, libglvnd0, libglx0, libgraphite2-3, libharfbuzz0b, libicu66, libjpeg-turbo8, libmount1, libopengl0, libpcre2-16-0, libpcre3, libpng16-16, libselinux1, libssl1.1, libstdc++6, libuuid1, libx11-xcb1, libxau6, libxcb1, libxcb-cursor0, libxcb-glx0, libxcb-icccm4, libxcb-image0, libxcb-keysyms1, libxcb-randr0, libxcb-render0, libxcb-render-util0, libxcb-shape0, libxcb-shm0, libxcb-sync1, libxcb-util1, libxcb-xfixes0, libxcb-xkb1, libxdmcp6, libxkbcommon0, libxkbcommon-x11-0, zlib1g"
|
dependencies="libc6, libstdc++6, libblkid1, libbsd0, libexpat1, libffi7, libfontconfig1, libfreetype6, libglib2.0-0, libglvnd0, libglx0, libgraphite2-3, libharfbuzz0b, libicu66, libjpeg-turbo8, libmount1, libopengl0, libpcre2-16-0, libpcre3, libpng16-16, libselinux1, libssl1.1, libuuid1, libx11-xcb1, libxau6, libxcb1, libxcb-cursor0, libxcb-glx0, libxcb-icccm4, libxcb-image0, libxcb-keysyms1, libxcb-randr0, libxcb-render0, libxcb-render-util0, libxcb-shape0, libxcb-shm0, libxcb-sync1, libxcb-util1, libxcb-xfixes0, libxcb-xkb1, libxdmcp6, libxkbcommon0, libxkbcommon-x11-0, zlib1g"
|
||||||
;;
|
;;
|
||||||
22.04)
|
22.04)
|
||||||
# Qt6 static-linked deb, see https://github.com/Chatterino/docker
|
# Qt6 static-linked deb, see https://github.com/Chatterino/docker
|
||||||
dependencies="libc6, libstdc++6, libglx0, libopengl0, libpng16-16, libharfbuzz0b, libfreetype6, libfontconfig1, libjpeg-turbo8, libxcb-glx0, libegl1, libx11-6, libxkbcommon0, libx11-xcb1, libxkbcommon-x11-0, libxcb-cursor0, libxcb-icccm4, libxcb-image0, libxcb-keysyms1, libxcb-randr0, libxcb-render-util0, libxcb-shm0, libxcb-sync1, libxcb-xfixes0, libxcb-render0, libxcb-shape0, libxcb-xkb1, libxcb1, libbrotli1, libglib2.0-0, zlib1g, libicu70, libpcre2-16-0, libssl3, libgraphite2-3, libexpat1, libuuid1, libxcb-util1, libxau6, libxdmcp6, libbrotli1, libffi8, libmount1, libselinux1, libpcre3, libicu70, libbsd0, libblkid1, libpcre2-8-0, libmd0"
|
dependencies="libc6, libstdc++6, libglx0, libopengl0, libpng16-16, libharfbuzz0b, libfreetype6, libfontconfig1, libjpeg-turbo8, libxcb-glx0, libegl1, libx11-6, libxkbcommon0, libx11-xcb1, libxkbcommon-x11-0, libxcb-cursor0, libxcb-icccm4, libxcb-image0, libxcb-keysyms1, libxcb-randr0, libxcb-render-util0, libxcb-shm0, libxcb-sync1, libxcb-xfixes0, libxcb-render0, libxcb-shape0, libxcb-xkb1, libxcb1, libbrotli1, libglib2.0-0, zlib1g, libicu70, libpcre2-16-0, libssl3, libgraphite2-3, libexpat1, libuuid1, libxcb-util1, libxau6, libxdmcp6, libffi8, libmount1, libselinux1, libpcre3, libbsd0, libblkid1, libpcre2-8-0, libmd0"
|
||||||
|
;;
|
||||||
|
24.04)
|
||||||
|
# Qt6 static-linked deb, see https://github.com/Chatterino/docker
|
||||||
|
dependencies="libc6, libstdc++6, libglx0, libopengl0, libpng16-16, libharfbuzz0b, libfreetype6, libfontconfig1, libjpeg-turbo8, libxcb-glx0, libegl1, libx11-6, libxkbcommon0, libx11-xcb1, libxkbcommon-x11-0, libxcb-cursor0, libxcb-icccm4, libxcb-image0, libxcb-keysyms1, libxcb-randr0, libxcb-render-util0, libxcb-shm0, libxcb-sync1, libxcb-xfixes0, libxcb-render0, libxcb-shape0, libxcb-xkb1, libxcb1, libbrotli1, libglib2.0-0, zlib1g, libicu74, libpcre2-16-0, libssl3, libgraphite2-3, libexpat1, libuuid1, libxcb-util1, libxau6, libxdmcp6, libffi8, libmount1, libselinux1, libpcre3, libbsd0, libblkid1, libpcre2-8-0, libmd0"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unsupported Ubuntu release $ubuntu_release"
|
echo "Unsupported Ubuntu release $ubuntu_release"
|
||||||
|
|
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
|
@ -49,6 +49,15 @@ jobs:
|
||||||
skip-crashpad: false
|
skip-crashpad: false
|
||||||
build-appimage: true
|
build-appimage: true
|
||||||
build-deb: true
|
build-deb: true
|
||||||
|
- os: ubuntu-24.04
|
||||||
|
container: ghcr.io/chatterino/chatterino2-build-ubuntu-24.04:latest
|
||||||
|
qt-version: 6.6.1
|
||||||
|
force-lto: false
|
||||||
|
plugins: true
|
||||||
|
skip-artifact: false
|
||||||
|
skip-crashpad: false
|
||||||
|
build-appimage: false
|
||||||
|
build-deb: true
|
||||||
env:
|
env:
|
||||||
C2_ENABLE_LTO: ${{ matrix.force-lto }}
|
C2_ENABLE_LTO: ${{ matrix.force-lto }}
|
||||||
C2_PLUGINS: ${{ matrix.plugins }}
|
C2_PLUGINS: ${{ matrix.plugins }}
|
||||||
|
@ -375,6 +384,12 @@ jobs:
|
||||||
name: Chatterino-ubuntu-22.04-Qt-6.6.1.deb
|
name: Chatterino-ubuntu-22.04-Qt-6.6.1.deb
|
||||||
path: release-artifacts/
|
path: release-artifacts/
|
||||||
|
|
||||||
|
- uses: actions/download-artifact@v4
|
||||||
|
name: Ubuntu 24.04 deb
|
||||||
|
with:
|
||||||
|
name: Chatterino-ubuntu-24.04-Qt-6.6.1.deb
|
||||||
|
path: release-artifacts/
|
||||||
|
|
||||||
- name: Copy flatpakref
|
- name: Copy flatpakref
|
||||||
run: |
|
run: |
|
||||||
cp .CI/chatterino-nightly.flatpakref release-artifacts/
|
cp .CI/chatterino-nightly.flatpakref release-artifacts/
|
||||||
|
|
Loading…
Reference in a new issue