Skip to content

Commit efb3985

Browse files
authored
Update arm-linux.yml
1 parent 26fd593 commit efb3985

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/arm-linux.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,14 @@ jobs:
4949
# uses: jurplel/install-qt-action@f03f05556819ceb3781ee2f455ec44c339d683c0
5050
shell: bash
5151
run: |
52-
sudo apt-get install build-essential ninja-build libfontconfig1-dev libfreetype-dev libx11-dev libx11-xcb-dev libxcb-cursor-dev libxcb-glx0-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-shape0-dev libxcb-shm0-dev libxcb-sync-dev libxcb-util-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb-xkb-dev libxcb1-dev libxext-dev libxfixes-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev libxrender-dev
52+
sudo apt-get install wget build-essential ninja-build
5353
mkdir -p ${{ github.workspace }}/qt
5454
cd ${{ github.workspace }}/qt
55-
git clone "https://codereview.qt-project.org/qt/qt5"
56-
cd qt5/
57-
git checkout 6.5.3
58-
perl init-repository -f
59-
cd ..
60-
mkdir ${{ github.workspace }}/qt/qt-hostbuild
61-
cd ${{ github.workspace }}/qt/qt-hostbuild/
62-
cmake ../qt5/qtbase -GNinja -DCMAKE_BUILD_TYPE=Release -DQT_BUILD_EXAMPLES=OFF -DQT_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/qt/qt-host
55+
wget https://download.qt.io/official_releases/qt/6.5/6.5.3/submodules/qtbase-everywhere-src-6.5.3.tar.xz -O qtbase.tar.xz
56+
tar -xf qtbase.tar.xz
57+
cd qtbase-everywhere-src-6.5.3
58+
./configure -no-opengl -developer-build -nomake tests -nomake examples
6359
cmake --build . --parallel
64-
cmake --install .
6560
6661
- name: Install Qt for Android
6762
uses: jurplel/install-qt-action@v4
@@ -94,7 +89,7 @@ jobs:
9489
-DCMAKE_CXX_COMPILER=/usr/bin/${{ matrix.cpp_compiler }}
9590
-DCMAKE_C_COMPILER=/usr/bin/${{ matrix.c_compiler }}
9691
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
97-
-DQT_HOST_PATH=${{ github.workspace }}/qt/qt-host
92+
-DQT_HOST_PATH=${{ github.workspace }}/qt/qtbase-everywhere-src-6.5.3
9893
-S ${{ github.workspace }}
9994
10095
- name: Build

0 commit comments

Comments
 (0)