scripts/test: use lib64 for loongarch64

This commit is contained in:
Joshua Sing
2025-04-13 01:09:48 +10:00
parent a516251595
commit 090f7892f7
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ jobs:
uses: actions/checkout@v4
- name: "Run tests"
run: ./scripts/test || cat tests/test-suite.log
run: ./scripts/test || (status=$?; cat tests/test-suite.log; exit $status)
env:
ARCH: "${{ matrix.arch }}"
CC: "${{ matrix.compiler }}"

View File

@@ -134,7 +134,7 @@ elif [ "$ARCH" = "arm32" -o "$ARCH" = "arm64" ]; then
elif [ "$ARCH" = "loong64" ]; then
sudo apt install -y qemu-user-static binfmt-support g++-14-loongarch64-linux-gnu
sudo ln -sf /usr/loongarch64-linux-gnu/lib/ld-linux-loongarch-lp64d.so.1 /lib
sudo ln -sf /usr/loongarch64-linux-gnu/lib64/ld-linux-loongarch-lp64d.so.1 /lib64
CC=loongarch64-linux-gnu-gcc-14
CXX=loongarch64-linux-gnu++-14