Skip to content

Commit

Permalink
CI from new template
Browse files Browse the repository at this point in the history
  • Loading branch information
liyishuai committed Oct 5, 2021
1 parent 92470dd commit 43e979b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ jobs:
command: |
PINS=$(opam list -s --pinned --columns=package | xargs | tr ' ' ,)
PACKAGES=`opam list -s --depends-on coq-ext-lib --coinstallable-with $PINS`
if [ -n "$PACKAGES" ]
then opam install -t $PACKAGES
fi
for PACKAGE in $PACKAGES
do DEPS_FAILED=false
opam install --deps-only $PACKAGE || DEPS_FAILED=true
[ $DEPS_FAILED == true ] || opam install -t $PACKAGE
done
- run:
name: Uninstall package
command: opam uninstall .
Expand Down

0 comments on commit 43e979b

Please sign in to comment.