File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -191,14 +191,28 @@ jobs:
191191 --build=missing \
192192 --test-folder=''
193193
194- # must run in the native platform shell: Qt doesn't build in bash on Windows
195194 - name : Generate conan profile
196195 run : |
197- conan install . -of conan-generated -b missing -pr CI/conan/${{ matrix.conan_profile }} ${{ matrix.conan_options }}
196+ conan install . \
197+ --output-folder=conan-generated \
198+ --build=missing \
199+ --profile=CI/conan/${{ matrix.conan_profile }} \
200+ ${{ matrix.conan_options }}
198201
199202 - name : Remove builds and source code
200203 run : conan cache clean
201204
205+ - name : Get NDK path
206+ if : ${{ startsWith(matrix.platform, 'android') }}
207+ run : |
208+ ndkPackage="android-ndk"
209+ hexRegex="[[:xdigit:]]+"
210+
211+ ndkPackageRevision=$(conan list --format=compact "$ndkPackage/*:*" \
212+ | egrep --only-matching "$ndkPackage/\\w+#$hexRegex:$hexRegex")
213+ ndkPackagePath=$(conan cache path "$ndkPackageRevision")
214+ echo "NDK directory: $ndkPackagePath"
215+
202216 - name : Remove build requirements' binaries
203217 run : |
204218 buildPackages=$(conan graph info . \
You can’t perform that action at this time.
0 commit comments