Magnus pushed to branch wip/mangoiv/ci-stages at Glasgow Haskell Compiler / GHC

Commits:

2 changed files:

Changes:

  • .gitlab/ci.sh
    ... ... @@ -968,7 +968,9 @@ function run_hadrian() {
    968 968
       if [ -n "${VERBOSE:-}" ]; then args+=("-V"); fi
    
    969 969
       # Before running the compiler, unset variables gitlab env vars as these
    
    970 970
       # can destabilise the performance test (see #20341)
    
    971
    -  (unset $(compgen -v | grep CI_*);
    
    971
    +  (unset "$(compgen -v | grep CI_*)";
    
    972
    +    # dump the env before running hdarian itself.
    
    973
    +    start_section run_hadrian_env "env for runnning hadrian"; env; end_section run_hadrian_env
    
    972 974
         run "${HADRIAN_PATH:-hadrian/build-cabal}" \
    
    973 975
           --flavour="$BUILD_FLAVOUR" \
    
    974 976
           -j"$cores" \
    

  • .gitlab/common.sh
    ... ... @@ -47,7 +47,7 @@ info() { echo_color "${LT_BLUE}" "$1"; }
    47 47
     fail() { error "error: $1"; exit 1; }
    
    48 48
     
    
    49 49
     function run() {
    
    50
    -  info "Running $*..."
    
    50
    +  info "Running $*"
    
    51 51
       "$@" || ( error "$* failed"; return 1; )
    
    52 52
     }
    
    53 53