ci: Linux runners should install qtsvg for proper bundling

This commit is contained in:
Nadia Holmquist Pedersen 2024-08-13 07:59:38 +02:00
parent c6cab9ed41
commit cb6f60c383

View File

@ -21,7 +21,7 @@ jobs:
sudo rm -f /etc/apt/sources.list.d/dotnetdev.list /etc/apt/sources.list.d/microsoft-prod.list sudo rm -f /etc/apt/sources.list.d/dotnetdev.list /etc/apt/sources.list.d/microsoft-prod.list
sudo apt update sudo apt update
sudo apt install --allow-downgrades cmake ninja-build extra-cmake-modules libpcap0.8-dev libsdl2-dev libenet-dev \ sudo apt install --allow-downgrades cmake ninja-build extra-cmake-modules libpcap0.8-dev libsdl2-dev libenet-dev \
qt6-{base,base-private,multimedia}-dev libarchive-dev libzstd-dev libfuse2 qt6-{base,base-private,multimedia,svg}-dev libarchive-dev libzstd-dev libfuse2
- name: Configure - name: Configure
run: cmake -B build -G Ninja -DUSE_QT6=ON -DCMAKE_INSTALL_PREFIX=/usr run: cmake -B build -G Ninja -DUSE_QT6=ON -DCMAKE_INSTALL_PREFIX=/usr
- name: Build - name: Build
@ -63,7 +63,7 @@ jobs:
apt update apt update
apt -y full-upgrade apt -y full-upgrade
apt -y install git {gcc-12,g++-12}-aarch64-linux-gnu cmake ninja-build extra-cmake-modules \ apt -y install git {gcc-12,g++-12}-aarch64-linux-gnu cmake ninja-build extra-cmake-modules \
{libsdl2,qt6-{base,base-private,multimedia},libarchive,libzstd,libenet}-dev:arm64 \ {libsdl2,qt6-{base,base-private,multimedia,svg},libarchive,libzstd,libenet}-dev:arm64 \
pkg-config dpkg-dev pkg-config dpkg-dev
- name: Check out source - name: Check out source
uses: actions/checkout@v4 uses: actions/checkout@v4