-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
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
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 |
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
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 |