feature test CMAKE_CROSSCOMPILING_EMULATOR
Some checks failed
linux-mips64-gcc / linux-gcc-mips64el (push) Has been cancelled

This commit is contained in:
tqcq 2023-12-06 09:52:56 +08:00
parent f21d1a9183
commit 1e81d33443

View File

@ -78,7 +78,7 @@ jobs:
- name: configure
run: |
mkdir build && cd build
cmake .. -DULIB_BUILD_TESTS=ON -DCMAKE_TOOLCHAIN_FILE=../toolchains/mips64el-linux-gnuabi64.toolchain.cmake
cmake .. -DULIB_BUILD_TESTS=ON -DCMAKE_TOOLCHAIN_FILE=../toolchains/mips64el-linux-gnuabi64.toolchain.cmake -DCMAKE_CROSSCOMPILING_EMULATOR="qemu-mips64el;-L;/usr/mips64el-linux-gnuabi64"
- name: build
run: cmake --build build --target all -j `nproc`