<commit_before>name: conan packaging for Eigen3ToPython

on:
  repository_dispatch:
    types: [conan-master, conan-release]
  push:
    branches:
      - '**'
    tags:
      - v*
  pull_request:
    branches:
      - '**'

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-16.04, ubuntu-18.04, macos-latest, windows-latest]
    runs-on: ${{ matrix.os }}
    steps:
    - name: Set git to use LF
      run: |
        git config --global core.autocrlf false
        git config --global core.eol lf
      if: startsWith(runner.os, 'Windows')
    - uses: actions/checkout@v2
      with:
        submodules: recursive
    - uses: jrl-umi3218/github-actions/build-conan-package@master
      id: conan
      with:
        package: Eigen3ToPython
        user: gergondet
        repository: multi-contact
        stable-channel: stable
        dev-channel: dev
        BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
  sync:
    needs: build
    runs-on: ubuntu-18.04
    if: github.ref == 'refs/heads/master' || github.event.action == 'conan-master' || github.event.action == 'conan-release'
    steps:
    - name: Trigger dependent rebuilds
      run: |
        if [ "${{ github.event.action }}" == "conan-release" ]
        then
          export DISPATCH="conan-release"
        else
          export DISPATCH="conan-master"
        fi
        curl -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${{ secrets.GH_PAGES_TOKEN }}" --request POST --data "{\"event_type\": \"${DISPATCH}\"}" https://api.github.com/repos/jrl-umi3218/SpaceVecAlg/dispatches<commit_msg>[actions/conan] Select XCode 11.7<commit_after>name: conan packaging for Eigen3ToPython

on:
  repository_dispatch:
    types: [conan-master, conan-release]
  push:
    branches:
      - '**'
    tags:
      - v*
  pull_request:
    branches:
      - '**'

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-16.04, ubuntu-18.04, macos-latest, windows-latest]
    runs-on: ${{ matrix.os }}
    steps:
    - name: Set git to use LF
      run: |
        git config --global core.autocrlf false
        git config --global core.eol lf
      if: startsWith(runner.os, 'Windows')
    - name: Change Xcode version
      run: |
        sudo xcode-select -switch /Applications/Xcode_11.7.app
      if: startsWith(runner.os, 'macOS')
    - uses: actions/checkout@v2
      with:
        submodules: recursive
    - uses: jrl-umi3218/github-actions/build-conan-package@master
      id: conan
      with:
        package: Eigen3ToPython
        user: gergondet
        repository: multi-contact
        stable-channel: stable
        dev-channel: dev
        BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
  sync:
    needs: build
    runs-on: ubuntu-18.04
    if: github.ref == 'refs/heads/master' || github.event.action == 'conan-master' || github.event.action == 'conan-release'
    steps:
    - name: Trigger dependent rebuilds
      run: |
        if [ "${{ github.event.action }}" == "conan-release" ]
        then
          export DISPATCH="conan-release"
        else
          export DISPATCH="conan-master"
        fi
        curl -H "Accept: application/vnd.github.everest-preview+json" -H "Authorization: token ${{ secrets.GH_PAGES_TOKEN }}" --request POST --data "{\"event_type\": \"${DISPATCH}\"}" https://api.github.com/repos/jrl-umi3218/SpaceVecAlg/dispatches
{'fraction_non_alphanumeric': 0.13164039696438995, 'fraction_numerical': 0.015178050204319907, 'mean_word_length': 2.2888675623800383, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1331387', 'n_tokens_mistral': 1204, 'n_tokens_neox': 1133, 'n_words': 242}