From 5b672f299c1bf76f5072dfbd24b62aafcfb0aba4 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Tue, 2 Apr 2024 11:45:06 +0800 Subject: [PATCH] fix misp64el test --- .gitea/workflows/linux-arm-gcc.yml | 2 +- .gitea/workflows/linux-mips64-gcc.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/linux-arm-gcc.yml b/.gitea/workflows/linux-arm-gcc.yml index 9ae60ed..0f94d1e 100644 --- a/.gitea/workflows/linux-arm-gcc.yml +++ b/.gitea/workflows/linux-arm-gcc.yml @@ -34,7 +34,7 @@ jobs: - name: arm-gnu-toolchain run: | sudo apt-get update -y - sudo apt-get install -y cmake make g++-arm-linux-gnueabi qemu-static + sudo apt-get install -y cmake make g++-arm-linux-gnueabi qemu-userbinfmt - name: build run: | mkdir build && cd build diff --git a/.gitea/workflows/linux-mips64-gcc.yml b/.gitea/workflows/linux-mips64-gcc.yml index f5112a0..84175e8 100644 --- a/.gitea/workflows/linux-mips64-gcc.yml +++ b/.gitea/workflows/linux-mips64-gcc.yml @@ -42,12 +42,12 @@ jobs: - name: configure run: | mkdir build && cd build - cmake .. -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DSLED_BUILD_TESTS=ON -DCMAKE_TOOLCHAIN_FILE=../toolchains/mips64el-linux-gnuabi64.toolchain.cmake -DCMAKE_CROSSCOMPILING_EMULATOR="qemu-mips64el;-L;/usr/mips64el-linux-gnuabi64" + cmake .. -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DSLED_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` - name: test run: |- cd build - ln -sf /usr/mips64el-linux-gnuabi64/lib/ld-2.30.so /lib/ld-2.30.so - export LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib/:/usr/mips64el-linux-gnuabi64/lib64/ + ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64/ld.so.1 + export LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib ctest --output-on-failure -j`nproc`