Temporary debug prints for build-and-package failure

This commit is contained in:
Suzanne Dupéron 2020-02-10 11:33:05 +01:00
parent f10cb1616e
commit 140a0fe0b2

View File

@ -25,8 +25,8 @@ dont-merge-to-master:
# To run in sequence and save CPU usage, use stage: build_and_package_binaries
stage: test
script:
- $build_binary_script "$target_os_family" "$target_os" "$target_os_version"
- $package_binary_script "$target_os_family" "$target_os" "$target_os_version"
- $build_binary_script "$target_os_family" "$target_os" "$target_os_version" || (cat _build/log || true; find || true; tail -n +1 ~/.opam/log/* || true; false)
- $package_binary_script "$target_os_family" "$target_os" "$target_os_version" || (cat _build/log || true; find || true; tail -n +1 ~/.opam/log/* || true; false)
artifacts:
paths:
- dist/package/**/*
@ -46,12 +46,12 @@ dont-merge-to-master:
- eval $(opam config env)
- scripts/setup_switch.sh
- eval $(opam config env)
- scripts/setup_repos.sh
- scripts/setup_repos.sh || (cat _build/log || true; find || true; tail -n +1 ~/.opam/log/* || true; false)
# install deps for internal documentation
- scripts/install_vendors_deps.sh
- scripts/install_vendors_deps.sh || (cat _build/log || true; find || true; tail -n +1 ~/.opam/log/* || true; false)
- opam install -y odoc
- scripts/build_ligo_local.sh
- scripts/build_ligo_local.sh || (cat _build/log || true; find || true; tail -n +1 ~/.opam/log/* || true; false)
# build with odoc
- dune build @doc