forked from eclipse-ecal/ecal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GH] Hotfix macos build & dependency (Qt5, capnp, python) brew instal…
…lation (eclipse-ecal#1711) * Python, Qt5, capnp installation via brew (all latest) * Python packages installation with parameter --break-system-packages * Added Qt5 installation path to the CMAKE_PREFIX_PATH in installation
- Loading branch information
Showing
1 changed file
with
8 additions
and
26 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 |
---|---|---|
|
@@ -17,33 +17,15 @@ jobs: | |
- name: Kill XProtectBehaviorService | ||
run: | | ||
echo Killing XProtect.; sudo pkill -9 XProtect >/dev/null || true; | ||
- name: Install latest Python3 via brew | ||
run: brew install python3 || brew link --overwrite [email protected] | ||
|
||
- name: Downgrade Python version | ||
uses: actions/setup-python@v4 | ||
id: cp39 | ||
with: | ||
python-version: '3.9' | ||
|
||
- name: Install Qt | ||
uses: jurplel/install-qt-action@v3 | ||
with: | ||
setup-python: false | ||
version: '5.15.2' | ||
target: 'desktop' | ||
- name: Install latest Qt5 via brew | ||
run: brew install qt@5 | ||
|
||
- name: Install Dependencies | ||
run: brew install ninja doxygen graphviz protobuf [email protected] pkg-config | ||
|
||
- name: Install Cap’n Proto | ||
run: | | ||
mkdir "${{ runner.workspace }}/capnp" | ||
cd "${{ runner.workspace }}/capnp" | ||
curl -O https://capnproto.org/capnproto-c++-0.9.0.tar.gz | ||
tar zxf capnproto-c++-0.9.0.tar.gz | ||
cd capnproto-c++-0.9.0 | ||
./configure | ||
make -j | ||
sudo make install | ||
run: brew install ninja doxygen graphviz protobuf [email protected] pkg-config capnp | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
@@ -56,7 +38,7 @@ jobs: | |
|
||
- name: Install Python requirements | ||
run: | | ||
sudo pip3 install -r "$GITHUB_WORKSPACE/doc/requirements.txt" | ||
sudo pip3 install -r "$GITHUB_WORKSPACE/doc/requirements.txt" --break-system-packages | ||
- name: CMake | ||
run: | | ||
|
@@ -92,7 +74,7 @@ jobs: | |
-DECAL_THIRDPARTY_BUILD_TCP_PUBSUB=ON \ | ||
-DECAL_THIRDPARTY_BUILD_QWT=ON \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_PREFIX_PATH=/usr/local/opt/[email protected] \ | ||
-DCMAKE_PREFIX_PATH="/usr/local/opt/[email protected];/usr/local/opt/qt@5" \ | ||
-DCMAKE_CXX_STANDARD=17 \ | ||
-DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON \ | ||
-DPython_FIND_STRATEGY=LOCATION \ | ||
|