Skip to content

Commit

Permalink
CI: diverge from template to skip dependants
Browse files Browse the repository at this point in the history
  • Loading branch information
liyishuai committed Mar 9, 2023
1 parent b3c05e7 commit 258c7c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This file was generated from `meta.yml`, please do not edit manually.
# Follow the instructions on https://github.com/coq-community/templates to regenerate.

version: 2.1

jobs:
Expand All @@ -16,6 +13,8 @@ jobs:
OPAMVERBOSE: 1
OPAMYES: true
TERM: xterm
SKIP_BUILD: |
coq-certicoq
steps:
- checkout
- run:
Expand Down Expand Up @@ -49,6 +48,8 @@ jobs:
PACKAGES=`opam list -s --depends-on coq-ext-lib --coinstallable-with $PINS`
for PACKAGE in $PACKAGES
do DEPS_FAILED=false
echo $SKIP_BUILD | tr ' ' '\n' | grep ^$PACKAGE$ > /dev/null &&
echo Skip $PACKAGE && continue
opam install --deps-only $PACKAGE || DEPS_FAILED=true
[ $DEPS_FAILED == true ] || opam install -t $PACKAGE
done
Expand Down
2 changes: 1 addition & 1 deletion meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ shortname: coq-ext-lib
opam_name: coq-ext-lib
organization: coq-community
community: true
circleci: true
circleci: false
ci_test_dependants: true
submodule: true

Expand Down

0 comments on commit 258c7c8

Please sign in to comment.