<commit_before>name: Analysis and Ports

on:
  workflow_dispatch:
    inputs:
      start:
        description: 'Start analysis and port workflow'
        default: 'yes'
        required: true

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        include:
# temporarily commented out to speed up build.
#          - name: GCC on Linux
#            os: ubuntu-latest
#            config: "--enable-debug --disable-flto"
#            make_test: "yes"
#          - name: Clang-analyzer
#            os: ubuntu-latest
#            config: "CC=clang --enable-debug --disable-flto --disable-static"
#            make_test: "yes"
#            clang_analysis: "yes"
#          - name: libevent
#            os: ubuntu-latest
#            install_libevent: "yes"
#            config: "CC=clang --enable-debug --disable-flto --with-libevent --disable-static"
#            make_test: "yes"
#            clang_analysis: "yes"
#          - name: OS X
#            os: macos-latest
#            install_expat: "yes"
#            config: "--enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat"
#            make_test: "yes"
#          - name: Clang on OS X
#            os: macos-latest
#            install_expat: "yes"
#            config: "CC=clang --enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat --disable-static"
#            make_test: "yes"
#            clang_analysis: "yes"
#          - name: ubsan (gcc undefined behaviour sanitizer)
#            os: ubuntu-latest
#            config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=undefined -fno-sanitize-recover=all" --disable-flto --disable-static'
#            make_test: "yes"
#          - name: asan (gcc address sanitizer)
#            os: ubuntu-latest
#            config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=address" --disable-flto --disable-static'
#            make_test: "yes"
#          - name: Apple iPhone on iOS, armv7
#            os: macos-latest
#            AUTOTOOLS_HOST: armv7-apple-ios
#            OPENSSL_HOST: ios-cross
#            IOS_SDK: iPhoneOS
#            IOS_CPU: armv7s
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: Apple iPhone on iOS, arm64
#            os: macos-latest
#            AUTOTOOLS_HOST: aarch64-apple-ios
#            OPENSSL_HOST: ios64-cross
#            IOS_SDK: iPhoneOS
#            IOS_CPU: arm64
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: Apple TV on iOS, arm64
#            os: macos-latest
#            AUTOTOOLS_HOST: aarch64-apple-ios
#            OPENSSL_HOST: ios64-cross
#            IOS_SDK: AppleTVOS
#            IOS_CPU: arm64
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: Apple Watch on iOS, armv7
#            os: macos-latest
#            AUTOTOOLS_HOST: armv7-apple-ios
#            OPENSSL_HOST: ios-cross
#            IOS_SDK: WatchOS
#            IOS_CPU: armv7k
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: iPhoneSimulator on OS X, i386
#            os: macos-latest
#            AUTOTOOLS_HOST: i386-apple-ios
#            OPENSSL_HOST: iphoneos-cross
#            IOS_SDK: iPhoneSimulator
#            IOS_CPU: i386
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: iPhoneSimulator on OS X, x86_64
#            os: macos-latest
#            AUTOTOOLS_HOST: x86_64-apple-ios
#            OPENSSL_HOST: iphoneos-cross
#            IOS_SDK: iPhoneSimulator
#            IOS_CPU: x86_64
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: AppleTVSimulator on OS X, x86_64
#            os: macos-latest
#            AUTOTOOLS_HOST: x86_64-apple-ios
#            OPENSSL_HOST: iphoneos-cross
#            IOS_SDK: AppleTVSimulator
#            IOS_CPU: x86_64
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: WatchSimulator on OS X, i386
#            os: macos-latest
#            AUTOTOOLS_HOST: i386-apple-ios
#            OPENSSL_HOST: iphoneos-cross
#            IOS_SDK: WatchSimulator
#            IOS_CPU: i386
#            test_ios: "yes"
#            config: "no"
#            make: "no"
          - name: Android armv7a
            os: ubuntu-latest
            AUTOTOOLS_HOST: armv7a-linux-androidabi
            OPENSSL_HOST: android-arm
            ANDROID_CPU: armv7a
            ANDROID_API: 23
            test_android: "yes"
            config: "no"
            make: "no"
 
    steps:
      - uses: actions/checkout@v2
        with:
          submodules: false
      - name: test_android
        if: ${{ matrix.test_android == 'yes' }}
        env:
          AUTOTOOLS_HOST: ${{ matrix.AUTOTOOLS_HOST }}<commit_msg>Analysis workflow, add Android x86, arm64 and x86_64 tests.<commit_after>name: Analysis and Ports

on:
  workflow_dispatch:
    inputs:
      start:
        description: 'Start analysis and port workflow'
        default: 'yes'
        required: true

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        include:
# temporarily commented out to speed up build.
#          - name: GCC on Linux
#            os: ubuntu-latest
#            config: "--enable-debug --disable-flto"
#            make_test: "yes"
#          - name: Clang-analyzer
#            os: ubuntu-latest
#            config: "CC=clang --enable-debug --disable-flto --disable-static"
#            make_test: "yes"
#            clang_analysis: "yes"
#          - name: libevent
#            os: ubuntu-latest
#            install_libevent: "yes"
#            config: "CC=clang --enable-debug --disable-flto --with-libevent --disable-static"
#            make_test: "yes"
#            clang_analysis: "yes"
#          - name: OS X
#            os: macos-latest
#            install_expat: "yes"
#            config: "--enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat"
#            make_test: "yes"
#          - name: Clang on OS X
#            os: macos-latest
#            install_expat: "yes"
#            config: "CC=clang --enable-debug --disable-flto --with-ssl=/usr/local/opt/openssl --with-libexpat=/usr/local/opt/expat --disable-static"
#            make_test: "yes"
#            clang_analysis: "yes"
#          - name: ubsan (gcc undefined behaviour sanitizer)
#            os: ubuntu-latest
#            config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=undefined -fno-sanitize-recover=all" --disable-flto --disable-static'
#            make_test: "yes"
#          - name: asan (gcc address sanitizer)
#            os: ubuntu-latest
#            config: 'CFLAGS="-DNDEBUG -g2 -O3 -fsanitize=address" --disable-flto --disable-static'
#            make_test: "yes"
#          - name: Apple iPhone on iOS, armv7
#            os: macos-latest
#            AUTOTOOLS_HOST: armv7-apple-ios
#            OPENSSL_HOST: ios-cross
#            IOS_SDK: iPhoneOS
#            IOS_CPU: armv7s
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: Apple iPhone on iOS, arm64
#            os: macos-latest
#            AUTOTOOLS_HOST: aarch64-apple-ios
#            OPENSSL_HOST: ios64-cross
#            IOS_SDK: iPhoneOS
#            IOS_CPU: arm64
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: Apple TV on iOS, arm64
#            os: macos-latest
#            AUTOTOOLS_HOST: aarch64-apple-ios
#            OPENSSL_HOST: ios64-cross
#            IOS_SDK: AppleTVOS
#            IOS_CPU: arm64
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: Apple Watch on iOS, armv7
#            os: macos-latest
#            AUTOTOOLS_HOST: armv7-apple-ios
#            OPENSSL_HOST: ios-cross
#            IOS_SDK: WatchOS
#            IOS_CPU: armv7k
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: iPhoneSimulator on OS X, i386
#            os: macos-latest
#            AUTOTOOLS_HOST: i386-apple-ios
#            OPENSSL_HOST: iphoneos-cross
#            IOS_SDK: iPhoneSimulator
#            IOS_CPU: i386
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: iPhoneSimulator on OS X, x86_64
#            os: macos-latest
#            AUTOTOOLS_HOST: x86_64-apple-ios
#            OPENSSL_HOST: iphoneos-cross
#            IOS_SDK: iPhoneSimulator
#            IOS_CPU: x86_64
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: AppleTVSimulator on OS X, x86_64
#            os: macos-latest
#            AUTOTOOLS_HOST: x86_64-apple-ios
#            OPENSSL_HOST: iphoneos-cross
#            IOS_SDK: AppleTVSimulator
#            IOS_CPU: x86_64
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: WatchSimulator on OS X, i386
#            os: macos-latest
#            AUTOTOOLS_HOST: i386-apple-ios
#            OPENSSL_HOST: iphoneos-cross
#            IOS_SDK: WatchSimulator
#            IOS_CPU: i386
#            test_ios: "yes"
#            config: "no"
#            make: "no"
#          - name: Android armv7a
#            os: ubuntu-latest
#            AUTOTOOLS_HOST: armv7a-linux-androidabi
#            OPENSSL_HOST: android-arm
#            ANDROID_CPU: armv7a
#            ANDROID_API: 23
#            test_android: "yes"
#            config: "no"
#            make: "no"
          - name: Android aarch64
            os: ubuntu-latest
            AUTOTOOLS_HOST: aarch64-linux-android
            OPENSSL_HOST: android-arm64
            ANDROID_CPU: aarch64
            ANDROID_API: 23
            test_android: "yes"
            config: "no"
            make: "no"
          - name: Android x86
            os: ubuntu-latest
            AUTOTOOLS_HOST: i686-linux-android
            OPENSSL_HOST: android-x86
            ANDROID_CPU: x86
            ANDROID_API: 23
            test_android: "yes"
            config: "no"
            make: "no"
          - name: Android x86_64
            os: ubuntu-latest
            AUTOTOOLS_HOST: x86_64-linux-android
            OPENSSL_HOST: android-x86_64
            ANDROID_CPU: x86_64
            ANDROID_API: 23
            test_android: "yes"
            config: "no"
            make: "no"
 
    steps:
      - uses: actions/checkout@v2
        with:
          submodules: false
      - name: test_android
        if: ${{ matrix.test_android == 'yes' }}
        env:
          AUTOTOOLS_HOST: ${{ matrix.AUTOTOOLS_HOST }}
{'fraction_non_alphanumeric': 0.10945181337538262, 'fraction_numerical': 0.018087375939152214, 'mean_word_length': 1.4410233189947927, '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': '803605', 'n_tokens_mistral': 3677, 'n_tokens_neox': 3460, 'n_words': 763}