Skip to content

Minor fixes

Minor fixes #35

Workflow file for this run

#--------------------------------------------------------------------------------
# Workflow configuration
#--------------------------------------------------------------------------------
name: "CI builds"
on:
push:
pull_request:
#--------------------------------------------------------------------------------
# Define application name & version
#--------------------------------------------------------------------------------
env:
VERSION: "0.10"
APPLICATION: "MiniVideoInfos"
QMAKE_PROJECT: "MiniVideoInfos.pro"
QT_VERSION: "6.5.2"
#--------------------------------------------------------------------------------
# Workflow jobs
#--------------------------------------------------------------------------------
jobs:
## GNU/Linux build ###########################################################
build-linux:
name: "Linux CI build"
runs-on: ubuntu-20.04
steps:
# Checkout the repository
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive
# Install Qt
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: ${{env.QT_VERSION}}
modules: qtimageformats qtpositioning qtlocation qtcharts qtshadertools qt5compat
# Install dependencies (from package manager)
- name: Install dependencies (from package manager)
run: |
sudo apt-get install libgl1-mesa-dev libxkbcommon-x11-dev libx11-xcb-dev libzstd-dev -y;
sudo apt-get install cmake ninja-build pkgconf libtool appstream -y;
# Build dependencies (from contribs script)
- name: Build dependencies (from contribs script)
run: |
cd contribs/
python3 contribs_builder.py --targets=linux --qt-directory ${{env.Qt6_DIR}}/../.. --qt-version ${{env.QT_VERSION}}
cd ..
# Build application
- name: Build application
run: |
qmake --version
qmake ${{env.QMAKE_PROJECT}} DEFINES+=USE_CONTRIBS CONFIG+=release PREFIX=/usr
make -j$(nproc)