Skip to content

Commit d2ba616

Browse files
committed
Install LLVM before Qt
1 parent bbc8ef5 commit d2ba616

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

‎.github/workflows/linux-build.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ jobs:
5555
sudo apt update
5656
sudo apt install gcc-11 g++-11
5757
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 110 --slave /usr/bin/g++ g++ /usr/bin/g++-11 --slave /usr/bin/gcov gcov /usr/bin/gcov-11
58+
## Install LLVM (for host build tools)
59+
- if: "!contains(matrix.arch, 'amd64')"
60+
name: Install LLVM
61+
uses: KyleMayes/install-llvm-action@v2
62+
with:
63+
version: "19.1.0"
64+
env: false
65+
directory: ${{ github.workspace }}/../llvm-native # get this from $LLVM_PATH
5866
## Install Qt
5967
- name: Install Qt
6068
uses: jurplel/install-qt-action@v4
@@ -103,14 +111,6 @@ jobs:
103111
with:
104112
path: ./qt-cross/
105113
key: qt-cross-${{ runner.os }}-${{ matrix.qt-version }}-${{ matrix.qt-target }}-${{ matrix.qt-modules }}-${{ matrix.arch }}
106-
## Install LLVM (for host build tools)
107-
- if: "!contains(matrix.arch, 'amd64')"
108-
name: Install LLVM
109-
uses: KyleMayes/install-llvm-action@v2
110-
with:
111-
version: "19.1.0"
112-
env: false
113-
directory: ${{ github.workspace }}/../llvm-native # get this from $LLVM_PATH
114114
## Build
115115
- name: Build AppImage
116116
run: .ci/build_appimage.sh ${{ matrix.arch }}

0 commit comments

Comments
 (0)