Skip to content

Commit 4bbd941

Browse files
committed
Install LLVM before Qt
1 parent bbc8ef5 commit 4bbd941

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

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

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,20 @@ jobs:
4242
sed -i -e '/^$/d' .github/config.env
4343
cat .github/config.env >> "${GITHUB_ENV}"
4444
shell: bash
45+
## Install LLVM (for host build tools)
46+
- if: "!contains(matrix.arch, 'amd64')"
47+
name: Prepare large temp
48+
run: |
49+
mkdir -p "$GITHUB_WORKSPACE/tmp"
50+
echo "RUNNER_TEMP=$GITHUB_WORKSPACE/tmp" >> "$GITHUB_ENV"
51+
- if: "!contains(matrix.arch, 'amd64')"
52+
name: Install LLVM
53+
uses: KyleMayes/install-llvm-action@v2
54+
with:
55+
version: "19.1.0"
56+
env: false
57+
directory: ${{ github.workspace }}/../llvm-native # get this from $LLVM_PATH
58+
## Install dependencies
4559
- if: contains(matrix.arch, 'amd64')
4660
name: Install dependencies
4761
run: |
@@ -103,14 +117,6 @@ jobs:
103117
with:
104118
path: ./qt-cross/
105119
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
114120
## Build
115121
- name: Build AppImage
116122
run: .ci/build_appimage.sh ${{ matrix.arch }}

0 commit comments

Comments
 (0)