feat add ld_path for aarch64

This commit is contained in:
tqcq 2024-04-02 09:51:04 +08:00
parent 2804591e2d
commit 25648db154

View File

@ -72,7 +72,8 @@ jobs:
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/aarch64-linux-gnu.toolchain.cmake -DSLED_BUILD_TESTS=ON -DSLED_BUILD_BENCHMARK=ON ..
cmake --build . -j $(nproc)
- name: test
run: |
run: |-
export PATH=$GITHUB_WORKSPACE/qemu-install/bin:$PATH
cd build
export LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/
TESTS_EXECUTABLE_LOADER=qemu-aarch64 TESTS_EXECUTABLE_LOADER_ARGUMENTS="-L;/usr/aarch64-linux-gnu" ctest --output-on-failure -j $(nproc)