Skip to content

Commit

Permalink
CI: try to fix ubuntu armv7 build
Browse files Browse the repository at this point in the history
  • Loading branch information
HuguesDelorme committed Feb 3, 2025
1 parent 0f99ec9 commit f35938d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci_linux_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Install Qt${{matrix.qt_version_major}}
- name: Update all package informations
run: |
sudo apt-get -y update
- name: Install Qt${{matrix.qt_version_major}}
run: |
if [[ ${{matrix.qt_version_major}} == "5" ]]; then
sudo apt-get -y install qtbase5-dev libqt5svg5-dev
elif [[ ${{matrix.qt_version_major}} == "6" ]]; then
Expand Down
26 changes: 20 additions & 6 deletions .github/workflows/ci_linux_ubuntu_armv7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,25 @@ jobs:

install: |
apt-get -y update
apt-get -y install xvfb # Needed to run unit tests
apt-get -y install cmake
apt-get -y install git
apt-get -y install g++
apt-get -y install cmake git g++
# Needed to run unit tests
apt-get -y install xvfb
# Install Qt5
apt-get -y install qtbase5-dev libqt5svg5-dev
apt-get -y install libxcb-cursor0 # Dependencies for "xcb" Qt plugin(actually needed for Qt6)
# Dependencies for "xcb" Qt plugin(actually needed for Qt6)
apt-get -y install libxcb-cursor0
# Install OpenCascade
apt-get -y install libocct-data-exchange-dev libocct-draw-dev occt-misc
apt-get -y install libtbb-dev libxi-dev # Dependencies for OpenCascade
# Dependencies for OpenCascade
apt-get -y install libtbb-dev libxi-dev
# Install Assimp
apt-get -y install libassimp-dev
env: |
Expand All @@ -59,6 +70,9 @@ jobs:
mkdir build
cd build
dpkg -L libocct-data-exchange-dev | grep so
dpkg -L libocct-data-exchange-dev | grep cmake
cmake .. -DMayo_BuildTests=ON -DMayo_BuildPluginAssimp=ON
cmake --build . --config Release --parallel `nproc`
Expand Down

0 comments on commit f35938d

Please sign in to comment.