aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Sing <joshua@joshuasing.dev>2025-04-13 01:09:48 +1000
committerJoshua Sing <joshua@joshuasing.dev>2025-04-13 01:09:48 +1000
commit090f7892f7f7280f69289dc5e99ab5ed64908269 (patch)
tree056a374ba1613ed654026db9709599adc54ff4d4
parenta516251595b6451806372d5f7d08deb581a4824c (diff)
downloadportable-090f7892f7f7280f69289dc5e99ab5ed64908269.tar.gz
portable-090f7892f7f7280f69289dc5e99ab5ed64908269.tar.bz2
portable-090f7892f7f7280f69289dc5e99ab5ed64908269.zip
scripts/test: use lib64 for loongarch64
-rw-r--r--.github/workflows/linux.yml2
-rwxr-xr-xscripts/test2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index fd0650e..88dd15e 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -40,7 +40,7 @@ jobs:
40 uses: actions/checkout@v4 40 uses: actions/checkout@v4
41 41
42 - name: "Run tests" 42 - name: "Run tests"
43 run: ./scripts/test || cat tests/test-suite.log 43 run: ./scripts/test || (status=$?; cat tests/test-suite.log; exit $status)
44 env: 44 env:
45 ARCH: "${{ matrix.arch }}" 45 ARCH: "${{ matrix.arch }}"
46 CC: "${{ matrix.compiler }}" 46 CC: "${{ matrix.compiler }}"
diff --git a/scripts/test b/scripts/test
index 473d689..a93fe90 100755
--- a/scripts/test
+++ b/scripts/test
@@ -134,7 +134,7 @@ elif [ "$ARCH" = "arm32" -o "$ARCH" = "arm64" ]; then
134 134
135elif [ "$ARCH" = "loong64" ]; then 135elif [ "$ARCH" = "loong64" ]; then
136 sudo apt install -y qemu-user-static binfmt-support g++-14-loongarch64-linux-gnu 136 sudo apt install -y qemu-user-static binfmt-support g++-14-loongarch64-linux-gnu
137 sudo ln -sf /usr/loongarch64-linux-gnu/lib/ld-linux-loongarch-lp64d.so.1 /lib 137 sudo ln -sf /usr/loongarch64-linux-gnu/lib64/ld-linux-loongarch-lp64d.so.1 /lib64
138 138
139 CC=loongarch64-linux-gnu-gcc-14 139 CC=loongarch64-linux-gnu-gcc-14
140 CXX=loongarch64-linux-gnu++-14 140 CXX=loongarch64-linux-gnu++-14