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

[Actions] Build the Bluetooth extension with audio and GATT support #1759

Merged
merged 29 commits into from
Sep 23, 2024
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c25b30f
Trying to build two new extensions in the Linux Actions
VeithMetro Sep 9, 2024
336a86b
Make sure to use the template from development to build
VeithMetro Sep 9, 2024
6e752f7
Installing BlueZ, updating the multilib and 32-bit libraries to be on…
VeithMetro Sep 9, 2024
2fb6dd8
Adding a missing workflow variable operator
VeithMetro Sep 9, 2024
a3c8c55
Trying to fix the bluetooth extenstion include paths
VeithMetro Sep 9, 2024
b1ea152
Bringing back the old include paths as it does not solve the issue
VeithMetro Sep 9, 2024
ee4ca31
Looks like building the bluetooth extension seems causes some issues,…
VeithMetro Sep 9, 2024
46ad710
Trying to build bluetooth again with the mgmt header
VeithMetro Sep 9, 2024
9b6037a
Merge branch 'master' into development/actions-extensions
VeithMetro Sep 16, 2024
4b1e678
Try building without downloading the BlueZ packages first
VeithMetro Sep 16, 2024
d35ba4a
Adding the DOWNLOAD_BLUEZ_UTIL_HEADERS flag and setting it up
VeithMetro Sep 16, 2024
7b03689
Adding a SYSTEM keyword to supress warnings from BlueZ headers
VeithMetro Sep 16, 2024
440abe0
Trying to set the NO_INCLUSIVE_LANGUAGE flag to PUBLIC to see if that…
VeithMetro Sep 16, 2024
c3a9d26
Removing SYSTEM keyword for now to test if that causes problem with f…
VeithMetro Sep 17, 2024
f2eead4
For now removing treatment of warnings as error to test the changes
VeithMetro Sep 17, 2024
fcd592c
Changing BlueZ to interface in target compile definitions
VeithMetro Sep 17, 2024
9f50e8d
Disabling pedanitc warnings in the included BlueZ headers
VeithMetro Sep 17, 2024
09c5d05
Add the -Werror cmake flags back
VeithMetro Sep 17, 2024
3f62cfa
Disabling pedantic warning in BlueZ headers includes in NodeId
VeithMetro Sep 17, 2024
7ffe272
Changing the FindBluez5UtilHeaders cmake to suppress warnings treated…
VeithMetro Sep 18, 2024
14fe22f
Removing PUSH_WARNING macro use in NodeId as it is no longer needed
VeithMetro Sep 18, 2024
f4c8041
Removing PUSH_WARNING macro use in the bluetooth extension
VeithMetro Sep 18, 2024
ccc66eb
Removing FindBluez5UtilHeaders from cmake/modules to merge master cha…
VeithMetro Sep 23, 2024
9b2009f
Merge branch 'master' into development/actions-extensions
VeithMetro Sep 23, 2024
4c89c1d
Adding Bluetooth audio and gatt build options
VeithMetro Sep 23, 2024
f3b40ad
Installing the libsbc-dev
VeithMetro Sep 23, 2024
16f609f
Make sure to install a 32-bit version if necessary
VeithMetro Sep 23, 2024
ed38087
Make sure the PKG paths are correct for each build type
VeithMetro Sep 23, 2024
3ae6190
Make sure to use master template before merging
VeithMetro Sep 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/Linux build template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
sudo apt-spy2 fix --commit --launchpad --country=US
echo "deb http://archive.ubuntu.com/ubuntu/ jammy main universe restricted multiverse" | sudo tee -a /etc/apt/sources.list
echo "deb http://archive.ubuntu.com/ubuntu/ jammy-updates main universe restricted multiverse" | sudo tee -a /etc/apt/sources.list
sudo dpkg --add-architecture i386
${{matrix.architecture == '32' && 'sudo dpkg --add-architecture i386' || ':'}}
sudo apt-get update
sudo apt install python3-pip build-essential cmake ninja-build libusb-1.0-0-dev zlib1g-dev zlib1g-dev:i386 libssl-dev gcc-11-multilib g++-11-multilib
sudo apt install python3-pip build-essential cmake ninja-build libusb-1.0-0-dev ${{matrix.architecture == '32' && 'zlib1g-dev:i386 libssl-dev:i386 libsbc-dev:i386 gcc-11-multilib g++-11-multilib' || 'zlib1g-dev libssl-dev libsbc-dev'}}
sudo pip install jsonref

# ----- Checkout & DependsOn regex -----
Expand Down Expand Up @@ -85,6 +85,7 @@ jobs:
# ----- Installing generators & Options regex -----
- name: Install generators
run: |
${{matrix.architecture == '32' && 'export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig:$PKG_CONFIG_PATH' || 'PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH'}}
cmake -G Ninja -S ThunderTools -B ${{matrix.build_type}}/build/ThunderTools \
-DCMAKE_CXX_FLAGS="-Wall -Wextra -Wpedantic -Werror -m${{matrix.architecture}}" \
-DCMAKE_C_FLAGS="-Wall -Wextra -Wpedantic -Werror -m${{matrix.architecture}}" \
Expand All @@ -103,6 +104,7 @@ jobs:
# ----- Building & uploading artifacts -----
- name: Build Thunder
run: |
${{matrix.architecture == '32' && 'export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig:$PKG_CONFIG_PATH' || 'PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:$PKG_CONFIG_PATH'}}
cmake -G Ninja -S Thunder -B ${{matrix.build_type}}/build/Thunder \
-DCMAKE_CXX_FLAGS="-Wall -Wextra -Wpedantic -Werror -m${{matrix.architecture}}" \
-DCMAKE_C_FLAGS="-Wall -Wextra -Wpedantic -Werror -m${{matrix.architecture}}" \
Expand All @@ -117,6 +119,11 @@ jobs:
-DPROXYSTUB_PATH="${PWD}/${{matrix.build_type}}/install/usr/lib/wpeframework/proxystubs" \
-DSYSTEM_PATH="${PWD}/${{matrix.build_type}}/install/usr/lib/wpeframework/plugins" \
-DVOLATILE_PATH="tmp" \
-DBLUETOOTH_SUPPORT=ON \
-DBLUETOOTH=ON \
-DDOWNLOAD_BLUEZ_UTIL_HEADERS=ON \
-DBLUETOOTH_AUDIO_SUPPORT=ON \
-DBLUETOOTH_GATT_SUPPORT=ON \
-DLOCALTRACER=ON \
-DWARNING_REPORTING=ON \
-DPROCESSCONTAINERS=ON \
Expand Down