Skip to content

Commit

Permalink
add QT6 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Feb 29, 2024
1 parent 4180acb commit 913e90f
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ubuntu22_build_test_qt6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: ubuntu22_build_test

# @Rapha please keep this one without any packaging or similar ;)
# NOTE: This test only checks if the code in the repository builds under ubuntu x86 (dependencies installed)
# Which is - simply put - the most basic test. If this test fails, there is something wrong with the code.

on: [push]

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release

jobs:
build:
#runs-on: ubuntu-18.04
#runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- name: Checkout repository and submodules
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: 6.5
modules: qtcharts

- name: Install non-qt dependencies
run: |
sudo ./install_qt6_build_dep.sh
- name: Build with CMake
run: |
mkdir build
cd build
cmake ..
make -j4
5 changes: 5 additions & 0 deletions install_qt6_build_dep.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

apt-get install -y build-essential cmake
apt-get install -y libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-good
apt-get install -y libavcodec-dev libavformat-dev

0 comments on commit 913e90f

Please sign in to comment.