Skip to content

Commit 93aa42d

Browse files
committed
Trying to solve issues with loongarch64.
1 parent 35aea2b commit 93aa42d

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/docker-hub.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121

2222
# TODO: Tests failing
2323
# - linux/s390x
24-
# TODO: Not tested or no hooking support
24+
# TODO: Not tested or detour not supported
2525
# - linux/mips64le
2626
# - linux/mips64
2727
PLATFORM_LIST: >

docker-compose.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,12 @@ sub_platform() {
206206
exit 1
207207
fi
208208

209+
# Debian in Docker Hub does not support LoongArch64 yet, let's use official LoongArch repository instead
210+
if [ "$METACALL_PLATFORM" = "linux/loong64" ]; then
211+
source .env
212+
export METACALL_BASE_IMAGE="ghcr.io/loong64/${METACALL_BASE_IMAGE}"
213+
fi
214+
209215
ln -sf tools/deps/.dockerignore .dockerignore
210216
$DOCKER_COMPOSE -f docker-compose.yml -f docker-compose.platform.yml build deps
211217

source/tests/metacall_node_python_ruby_test/source/metacall_node_python_ruby_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ TEST_F(metacall_node_python_ruby_test, DefaultConstructor)
8686
"module.exports = {\n"
8787
" test: async function () {\n"
8888
" try {\n"
89-
" const result = fetch('https://www.google.com');\n"
89+
" const result = fetch('https://www.google.com', { signal: AbortSignal.timeout(30000) });\n"
9090
" console.log(result);\n"
9191
" return true;\n"
9292
" } catch (e) {\n"

0 commit comments

Comments
 (0)