fix arm build
Some checks failed
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Waiting to run
linux-arm-gcc / linux-gcc-arm (push) Failing after 3m7s
linux-arm-gcc / linux-gcc-armhf (push) Failing after 4m19s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (pull_request) Failing after 3m5s
linux-arm-gcc / linux-gcc-arm (pull_request) Failing after 3m0s
linux-arm-gcc / linux-gcc-armhf (pull_request) Has been cancelled
linux-mips64-gcc / linux-gcc-mips64el (Release) (pull_request) Has been cancelled
linux-mips64-gcc / linux-gcc-mips64el (Debug) (pull_request) Has been cancelled
linux-x64-gcc / linux-gcc (Debug) (pull_request) Has been cancelled
linux-x64-gcc / linux-gcc (Release) (pull_request) Has been cancelled

This commit is contained in:
tqcq 2024-04-02 11:10:56 +08:00
parent a24f566828
commit aad01f1f22
2 changed files with 9 additions and 3 deletions

View File

@ -76,4 +76,6 @@ jobs:
export PATH=$GITHUB_WORKSPACE/qemu-install/bin:$PATH
cd build
ln -sf /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 /lib/ld-linux-aarch64.so.1
TESTS_EXECUTABLE_LOADER=qemu-aarch64 TESTS_EXECUTABLE_LOADER_ARGUMENTS="-L;/usr/aarch64-linux-gnu" ctest --output-on-failure -j $(nproc)
export LD_LIBRARY_PATH=/usr/aarch64-linux-gnu
qemu-aarch64 ctest --output-on-failure -j$(nproc)
# TESTS_EXECUTABLE_LOADER=qemu-aarch64 TESTS_EXECUTABLE_LOADER_ARGUMENTS="-L;/usr/aarch64-linux-gnu" ctest --output-on-failure -j $(nproc)

View File

@ -81,7 +81,9 @@ jobs:
run: |
export PATH=$GITHUB_WORKSPACE/qemu-install/bin:$PATH
cd build
TESTS_EXECUTABLE_LOADER=qemu-arm TESTS_EXECUTABLE_LOADER_ARGUMENTS="-L;/usr/arm-linux-gnueabi" ctest --output-on-failure -j $(nproc)
export LD_LIBRARY_PATH=/usr/arm-linux-gnueabi/lib
qemu-arm ctest --output-on-failure -j$(nproc)
# TESTS_EXECUTABLE_LOADER=qemu-arm TESTS_EXECUTABLE_LOADER_ARGUMENTS="-L;/usr/arm-linux-gnueabi" ctest --output-on-failure -j $(nproc)
linux-gcc-armhf:
runs-on: ubuntu-20.04
steps:
@ -137,4 +139,6 @@ jobs:
export PATH=$GITHUB_WORKSPACE/qemu-install/bin:$PATH
cd build
ln -sf /usr/arm-linux-gnueabihf/lib/ld-linux-armhf.so.3 /lib/ld-linux-armhf.so.3
TESTS_EXECUTABLE_LOADER=qemu-arm TESTS_EXECUTABLE_LOADER_ARGUMENTS="-L;/usr/arm-linux-gnueabihf" ctest --output-on-failure -j $(nproc)
export LD_LIBRARY_PATH=/usr/arm-linux-gnueabihf/lib
qemu-arm ctest --output-on-failure -j$(nproc)
# TESTS_EXECUTABLE_LOADER=qemu-arm TESTS_EXECUTABLE_LOADER_ARGUMENTS="-L;/usr/arm-linux-gnueabihf" ctest --output-on-failure -j $(nproc)