@@ -81,17 +81,20 @@ jobs:
8181 cross_file : ' cross_configs/linux_ppc64_ubuntu24.cmake' ,
8282 }
8383 - {
84- name : ' QEMU Android 35 (arm64_v8a) NDK 29' ,
84+ name : ' [BUILD ONLY] Android 35 (arm64_v8a) NDK 29' ,
8585 os : ubuntu-24.04,
8686 arch : x64,
8787 build-system : ' cmake' ,
8888 build_option : ' -DANDROID_NDK=ndk/ -DANDROID_PLATFORM=android-35 -DANDROID_ABI=arm64-v8a' ,
8989 diet-build : ' OFF' ,
9090 build_type : ' Debug' ,
9191 diet_build : false,
92+ # QEMU alone can't emulate the binaries, because the NDK doesn't
93+ # provide dynamic linker.
94+ skip_tests : true,
9295 packages : ' qemu-user-static' ,
9396 ndk_version : ' r29' ,
94- cross_file : ' ndk/build/cmake/android-legacy .toolchain.cmake' ,
97+ cross_file : ' ndk/build/cmake/android.toolchain.cmake' ,
9598 qemu : ' qemu-aarch64-static'
9699 }
97100
@@ -122,7 +125,6 @@ jobs:
122125 unzip -q -d ndk android-ndk-${ndk_version}-linux.zip
123126 mv ndk/*/* ndk/
124127 cat ndk/source.properties
125- echo "set(CMAKE_CROSSCOMPILING_EMULATOR '${qemu};-L;$PWD/ndk/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/')" >> "${cross_file}"
126128
127129 - name : cmake (cross build)
128130 env :
@@ -141,29 +143,36 @@ jobs:
141143 cmake --build build --config ${build_type}
142144
143145 - name : unit tests
146+ if : ${{ matrix.config.skip_tests }} == false
144147 run : |
145148 ctest --test-dir build --output-on-failure -R unit_*
146149
147150 - name : " Integration tests"
151+ if : ${{ matrix.config.skip_tests }} == false
148152 run : |
149153 ctest --test-dir build --output-on-failure -R integration_c_*
150154
151155 - name : cstest MC
156+ if : ${{ matrix.config.skip_tests }} == false
152157 run : |
153158 ctest --test-dir build --output-on-failure -R MCTests
154159
155160 - name : cstest details
161+ if : ${{ matrix.config.skip_tests }} == false
156162 run : |
157163 ctest --test-dir build --output-on-failure -R DetailTests
158164
159165 - name : cstest issues
166+ if : ${{ matrix.config.skip_tests }} == false
160167 run : |
161168 ctest --test-dir build --output-on-failure -R IssueTests
162169
163170 - name : cstest features
171+ if : ${{ matrix.config.skip_tests }} == false
164172 run : |
165173 ctest --test-dir build --output-on-failure -R FeaturesTests
166174
167175 - name : Legacy integration tests
176+ if : ${{ matrix.config.skip_tests }} == false
168177 run : |
169178 ctest --test-dir build --output-on-failure -R legacy*
0 commit comments