[Git][ghc/ghc][wip/supersven/riscv64-cross-ci] Cross-tests for RISCV64

Sven Tennie (@supersven) gitlab at gitlab.haskell.org
Fri Sep 20 09:45:17 UTC 2024



Sven Tennie pushed to branch wip/supersven/riscv64-cross-ci at Glasgow Haskell Compiler / GHC


Commits:
e51d5654 by Sven Tennie at 2024-09-20T11:44:53+02:00
Cross-tests for RISCV64

- - - - -


1 changed file:

- .gitlab/ci.sh


Changes:

=====================================
.gitlab/ci.sh
=====================================
@@ -614,6 +614,13 @@ function test_hadrian() {
       "runtest.opts+=${RUNTEST_ARGS:-}" \
       "runtest.opts+=--unexpected-output-dir=$TOP/unexpected-test-output" \
       || fail "hadrian main testsuite targetting $CROSS_TARGET"
+  elif [[ -n "${CROSS_TARGET:-}" ]] && [[ "${CROSS_TARGET:-}" == *"riscv64"* ]]; then
+    run_hadrian \
+      test \
+      --summary-junit=./junit.xml \
+      "runtest.opts+=${RUNTEST_ARGS:-}" \
+      "runtest.opts+=--unexpected-output-dir=$TOP/unexpected-test-output" \
+      || fail "hadrian main testsuite targetting $CROSS_TARGET"
   elif [ -n "${CROSS_TARGET:-}" ]; then
     local instdir="$TOP/_build/install"
     local test_compiler="$instdir/bin/${cross_prefix}ghc$exe"



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e51d565429f0522bc9991e677d101e1cf9396d5c

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/e51d565429f0522bc9991e677d101e1cf9396d5c
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240920/56932d60/attachment-0001.html>


More information about the ghc-commits mailing list