Various UI improvements #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-------------------------------------------------------------------------------- | |
# Workflow configuration | |
#-------------------------------------------------------------------------------- | |
name: "CI builds" | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
#-------------------------------------------------------------------------------- | |
# Define application name & version | |
#-------------------------------------------------------------------------------- | |
env: | |
APP_NAME: "MiniVideoInfos" | |
APP_VERSION: "0.10" | |
QT_VERSION: "6.7.2" | |
#-------------------------------------------------------------------------------- | |
# Workflow jobs | |
#-------------------------------------------------------------------------------- | |
jobs: | |
## GNU/Linux build ########################################################### | |
build-linux: | |
name: "Linux CI build" | |
runs-on: ubuntu-20.04 | |
steps: | |
# Checkout the repository (and submodules) | |
- name: Checkout repository (and submodules) | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
# Install Qt | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
version: ${{env.QT_VERSION}} | |
modules: qtimageformats qtpositioning qtlocation qtcharts | |
# 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; | |
# Setup env | |
- name: Setup env | |
run: | | |
qmake --version | |
cmake --version | |
export CMAKE_BUILD_PARALLEL_LEVEL=$(nproc) | |
sudo rm /home/runner/work/${{env.APP_NAME}}/Qt/${{env.QT_VERSION}}/gcc_64/plugins/sqldrivers/libqsqlmimer.so | |
sudo rm /home/runner/work/${{env.APP_NAME}}/Qt/${{env.QT_VERSION}}/gcc_64/plugins/position/libqtposition_nmea.so | |
# Build dependencies (from contribs script) | |
- name: Build dependencies (from contribs script) | |
run: | | |
cd contribs/ | |
python3 contribs_builder.py --targets=linux --softwares=minivideo,libexif,taglib --qt-directory ${{env.Qt6_DIR}}/../.. --qt-version ${{env.QT_VERSION}} | |
cd .. | |
# Build application | |
- name: Build application | |
run: | | |
qmake ${{env.APP_NAME}}.pro DEFINES+=USE_CONTRIBS CONFIG+=release PREFIX=/usr | |
make -j$(nproc) |