I have been trying to create and compile a custom version of Jami using github actions as my laptop is really weak I have forked your jami-qt-client repo on github and made some changes t the UI, I am trying to compile it using a .yml file however the proccess always fails after going through the documentation and fixing some of the errors new ones keep appearing. I included the contents of the .yml file below. Can anyone help me out?
I also included some pictures below to help.
contents of .yml file
name: Build Jami Qt Client
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
workflow_dispatch:
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Linting Tools
run: |
sudo apt-get update
sudo apt-get install -y clang-format
- name: Install Qt 6.10 with Needed Modules
uses: jurplel/install-qt-action@v3
with:
version: '6.10.0'
modules: 'qtmultimedia qtwebengine qt5compat qtpositioning qthttpserver'
- name: Install System Dependencies
run: |
sudo apt-get install -y \
build-essential cmake automake autoconf autopoint libtool pkg-config \
libdbus-1-dev libva-dev libvdpau-dev libasound2-dev libpulse-dev \
libudev-dev libexpat1-dev nasm yasm swig libyaml-cpp-dev \
libavutil-dev libavcodec-dev libavformat-dev libswscale-dev libavdevice-dev \
libspeex-dev libspeexdsp-dev libarchive-dev libsecret-1-dev libssl-dev \
libcanberra-dev glib-2.0 libglib2.0-dev libnotify-dev libgirepository1.0-dev \
libgnutls28-dev libopus-dev libvpx-dev libx264-dev libupnp-dev \
libjack-jackd2-dev libqt6svg6-dev doxygen g++ gettext pandoc libnm-dev \
libswresample-dev libgit2-dev libsecp256k1-dev libmsgpack-dev
- name: Bypass Build Scripts Formatting Hooks
run: |
if [ -f "./extras/scripts/format.py" ]; then
echo -e '#!/usr/bin/env python3\nimport sys\nsys.exit(0)' > ./extras/scripts/format.py
chmod +x ./extras/scripts/format.py
fi
- name: Initialize Jami Build System
run: |
chmod +x build.py
./build.py --init --qt=$QT_ROOT_DIR
- name: Install Internal Daemon Contrib Dependencies
run: |
sudo ./build.py --dependencies
- name: Compile Qt Client & Backend Daemon
run: |
./build.py --install --qt=$QT_ROOT_DIR
- name: Package as DEB
run: |
if [ -d "build" ]; then
cd build
cpack -G DEB
fi
- name: Upload Debian Installer
uses: actions/upload-artifact@v4
with:
name: jami-ubuntu-installer
path: build/*.deb

