Skip to content

Commit

Permalink
Disable parallel build for building old snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
na4zagin3 committed Apr 30, 2022
1 parent 95457bd commit f6c1370
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,16 @@ if true ; then
SKIP_SATYSFI_MISMATCH=1
esac

case "$PACKAGE_NAME" in
satyrographos-snapshot-{develop,stable}.0.0.[345]+*)
# https://github.com/na4zagin3/satyrographos/pull/289
echo "Old Satyrographos sometimes fail with parallel build."
export OPAMJOBS=1
;;
*)
unset OPAMJOBS
esac

if ! opam_install_dry_run --json=opam-output.json --cli=2.1 --update-invariant "${PACKAGES_AND_OPTIONS[@]}" "$SATYSFI_PACKAGE"
then
echo "Dependency does not meet."
Expand Down

0 comments on commit f6c1370

Please sign in to comment.