Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add automated Raspberry Pi build action #782

Merged
merged 1 commit into from
Feb 25, 2024

Conversation

MoJo2600
Copy link
Contributor

Added a github action to build Raspberry Pi images with docker buildx

Current state:

fixes #781

What does this PR do and why is it necessary?

How was it tested? How can it be tested by the reviewer?

Any background context you want to provide?

What are the relevant tickets if any?

Screenshots (if appropriate)

Further notes

Added a github action to build Raspberry Pi images with docker buildx
@tenzap
Copy link
Contributor

tenzap commented May 26, 2023

Just wondering, are you building the next branch or the master branch.

I see references to qt5, while next branch AFAIK now required Qt6.

The required build dependencies for qt6 are:

cmake libairspy-dev libasound2-dev libfaad-dev libfftw3-dev libmp3lame-dev libmpg123-dev libpulse-dev libqt6opengl6-dev librtlsdr-dev libsoapysdr-dev qt6-base-dev qt6-charts-dev qt6-declarative-dev qt6-multimedia-dev

And depending on their version you may also need these:

qml6-module-qtcharts  qml6-module-qtquick3d-spatialaudio

Logic to determine if they are required is:

            if dpkg --compare-versions $(dpkg-query -W qt6-charts-dev | cut -d "	" -f 2) lt 6.4.2-3; then
              sudo apt-get -y install qml6-module-qtcharts
            fi
            if dpkg --compare-versions $(dpkg-query -W qt6-multimedia-dev | cut -d "	" -f 2) lt 6.4.2-5; then
              sudo apt-get -y install qml6-module-qtquick3d-spatialaudio
            fi

You may want to have a look at
https://github.com/tenzap/welle.io/blob/next-035-qt651/.github/workflows/linux.yml
if it is newer than
https://github.com/AlbrechtL/welle.io/blob/next/.github/workflows/linux.yml

@MoJo2600
Copy link
Contributor Author

Thanks for the info! I was building the next branch, but I will incorporate the packages you mentioned.

Copy link
Owner

@AlbrechtL AlbrechtL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the really long reply and thanks for you pull request.

@AlbrechtL AlbrechtL merged commit 661dbb8 into AlbrechtL:next Feb 25, 2024
@AlbrechtL
Copy link
Owner

@MoJo2600 Can you update the README.md in order how to use this docker image.

@MoJo2600 MoJo2600 deleted the feat/raspberry-pi-build-action branch February 26, 2024 07:15
@MoJo2600
Copy link
Contributor Author

MoJo2600 commented Feb 27, 2024

@AlbrechtL I'm currently working on it. I also updated all the dependencies as well but I want to test the resulting binary on my pies first.

@AlbrechtL
Copy link
Owner

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants