Sven Tennie pushed to branch wip/supersven/cross-compiler-manual-test-jobs at Glasgow Haskell Compiler / GHC Commits: 0b293144 by Sven Tennie at 2026-06-12T08:09:35+00:00 ci: run full testsuite for cross-compilers when 'cross-run-testsuite' MR label is set Some tests are expected to fail under emulation, but this gives an overview and confidence in cross-compiler correctness. The opt-in label is required because emulated testsuite runs take a long time. - - - - - 1 changed file: - .gitlab/ci.sh Changes: ===================================== .gitlab/ci.sh ===================================== @@ -708,6 +708,17 @@ function test_hadrian() { # --- # > main = putStrLn "hello world" run diff -w expected actual + + if [[ "${CI_MERGE_REQUEST_LABELS:-}" == *"cross-run-testsuite"* ]]; then + EXTRA_HC_OPTS="-fexternal-interpreter" run_hadrian \ + test \ + --summary-junit=./junit.xml \ + --test-have-intree-files \ + --test-compiler="${test_compiler}" \ + "runtest.opts+=${RUNTEST_ARGS:-}" \ + "runtest.opts+=--unexpected-output-dir=$TOP/unexpected-test-output" \ + || fail "hadrian cross full testsuite" + fi elif [[ -n "${REINSTALL_GHC:-}" ]]; then run_hadrian \ test \ View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/0b29314462198c18076996fe1803e7d5... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/0b29314462198c18076996fe1803e7d5... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Sven Tennie (@supersven)