<commit_before>version: 2.1
jobs:
  license_chk:
    machine:
      # need machine as want to mount a volume
      image: ubuntu-2004:202107-02
    steps:
      - checkout
      - run:
          name: Execute skywalking-eyes check of licenses
          command: |
            docker run --rm -v $(pwd):/github/workspace apache/skywalking-eyes header check
  build:
    environment:
      IMAGE_NAME: quay.io/wtsicgp/cgpcavemanpostprocessing
    docker:
      - image: cimg/base 
    steps:
      - checkout
      - compile:
          name: Compile CaVEMan
          command: |
            mkdir install
            ./setup.sh install
      # - run:
      #     name: Build Docker image
      #     command: |
      #       set -e
      #       BRANCH_OR_TAG="${CIRCLE_TAG:-$CIRCLE_BRANCH}"
      #       CLEAN_BRANCH=$(echo $BRANCH_OR_TAG | tr / -)
      #       echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_USER" --password-stdin
      #       echo "$QUAYIO_PASSWORD" | docker login -u "$QUAYIO_USER" --password-stdin quay.io
      #       docker build -t $IMAGE_NAME:$CLEAN_BRANCH .
      #       echo 'Verify program(s) from each inherited base image - cgpbigwig'
      #       docker run -t --rm $IMAGE_NAME:$CLEAN_BRANCH bwjoin --version
      #       echo 'Verify program(s) from each inherited base image - pcap-core'<commit_msg>Initial circleci commit<commit_after>version: 2.1
jobs:
  license_chk:
    machine:
      # need machine as want to mount a volume
      image: ubuntu-2004:202107-02
    steps:
      - checkout
      - run:
          name: Execute skywalking-eyes check of licenses
          command: |
            docker run --rm -v $(pwd):/github/workspace apache/skywalking-eyes header check
  build:
    environment:
      IMAGE_NAME: quay.io/wtsicgp/cgpcavemanpostprocessing
    docker:
      - image: cimg/base:edge
    steps:
      - checkout
      - run:
          name: Compile CaVEMan
          command: |
            mkdir install
            ./setup.sh install
      # - run:
      #     name: Build Docker image
      #     command: |
      #       set -e
      #       BRANCH_OR_TAG="${CIRCLE_TAG:-$CIRCLE_BRANCH}"
      #       CLEAN_BRANCH=$(echo $BRANCH_OR_TAG | tr / -)
      #       echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_USER" --password-stdin
      #       echo "$QUAYIO_PASSWORD" | docker login -u "$QUAYIO_USER" --password-stdin quay.io
      #       docker build -t $IMAGE_NAME:$CLEAN_BRANCH .
      #       echo 'Verify program(s) from each inherited base image - cgpbigwig'
      #       docker run -t --rm $IMAGE_NAME:$CLEAN_BRANCH bwjoin --version
      #       echo 'Verify program(s) from each inherited base image - pcap-core'
{'fraction_non_alphanumeric': 0.09940872135994087, 'fraction_numerical': 0.010347376201034738, 'mean_word_length': 1.8982869379014988, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4291410', 'n_tokens_mistral': 917, 'n_tokens_neox': 871, 'n_words': 215}