<commit_before># Multi language build script for csharp and c++

matrix:
  include:
    - os: linux
      language: cpp
      compiler: clang
      addons:
        apt:
          sources:
          - ubuntu-toolchain-r-test
          - llvm-toolchain-precise-3.8
          packages:
          - clang-3.8
          - qt5-default
          - qttools5-dev-tools
      script:
      - ./build_cpp.sh
    
    - os: linux
      language: cpp
      compiler: gcc
      addons:
        apt:
          sources:
          - ubuntu-toolchain-r-test
          packages:
          - g++-6
          - qt5-default
          - qttools5-dev-tools
      script:
      - ./build_cpp.sh
    
    - os: linux
      language: cpp
      compiler: gcc/cmake
      addons:
        apt:
          sources:
          - ubuntu-toolchain-r-test
          packages:
          - g++-6
      script:
      - cd CppLisp
      - cmake CMakeLists.txt
      - make -j 4
      - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./CppLispInterpreter:./CppLispDebugger
      - ./fuel -v
      - ./fuel -e "(println (platform))"
      - ./fuel
    
    - os: linux
      language: csharp
      compiler: mono
      addons:
        apt:
          sources:
          - ubuntu-toolchain-r-test
      script:
      - ./build_cs.sh
    
    - os: linux
      language: android
      compiler: gcc/cmake
#      jdk:
#      - oraclejdk8
      android:
        components:
            - build-tools-26.0.2
            - android-26
#              - tools
#              - platform-tools
#              - tools
#              - build-tools-25.0.3
#              - android-24
#              - extra-android-m2repository
#              - extra-google-m2repository
#              - extra-google-google_play_services
      before_install:
        - rm -fr $HOME/android-ndk-r16b
        - curl -L http://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip -O
        - unzip -oq android-ndk-r16b-linux-x86_64.zip
        - rm android-ndk-r16b-linux-x86_64.zip
        - export ANDROID_NDK_HOME=$HOME/android-ndk-r16b
        - export PATH=$PATH:${ANDROID_NDK_HOME}
        #- echo y | sdkmanager "ndk-bundle"
        #- echo y | sdkmanager "cmake"
        - ls -lrt $ANDROID_NDK_HOME/build
        - ls -lrt $ANDROID_NDK_HOME/build/cmake
#     addons:
#        apt:
#          sources:
#          - ubuntu-toolchain-r-test
          #packages:
          #- g++-6
      script:
      - cd CppLisp
      - cmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake -DANDROID_ABI=android-24 CMakeLists.txt
      - make -j 4
      - ls -lrt
      #- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./CppLispInterpreter:./CppLispDebugger
      #- ./fuel -v
      #- ./fuel -e "(println (platform))"<commit_msg>Updated android build pipeline<commit_after># Multi language build script for csharp and c++

matrix:
  include:
    - os: linux
      language: cpp
      compiler: clang
      addons:
        apt:
          sources:
          - ubuntu-toolchain-r-test
          - llvm-toolchain-precise-3.8
          packages:
          - clang-3.8
          - qt5-default
          - qttools5-dev-tools
      script:
      - ./build_cpp.sh
    
    - os: linux
      language: cpp
      compiler: gcc
      addons:
        apt:
          sources:
          - ubuntu-toolchain-r-test
          packages:
          - g++-6
          - qt5-default
          - qttools5-dev-tools
      script:
      - ./build_cpp.sh
    
    - os: linux
      language: cpp
      compiler: gcc/cmake
      addons:
        apt:
          sources:
          - ubuntu-toolchain-r-test
          packages:
          - g++-6
      script:
      - cd CppLisp
      - cmake CMakeLists.txt
      - make -j 4
      - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./CppLispInterpreter:./CppLispDebugger
      - ./fuel -v
      - ./fuel -e "(println (platform))"
      - ./fuel
    
    - os: linux
      language: csharp
      compiler: mono
      addons:
        apt:
          sources:
          - ubuntu-toolchain-r-test
      script:
      - ./build_cs.sh
    
    - os: linux
      language: android
      compiler: gcc/cmake
      android:
        components:
            - build-tools-26.0.2
            - android-26
      before_install:
        - rm -fr $HOME/android-ndk-r16b
        - curl -L http://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip -O
        - unzip -oq android-ndk-r16b-linux-x86_64.zip
        - pwd
        - ls -lrt
        - rm android-ndk-r16b-linux-x86_64.zip
        - export ANDROID_NDK_HOME=$HOME/android-ndk-r16b
        - export PATH=$PATH:${ANDROID_NDK_HOME}
        #- echo y | sdkmanager "ndk-bundle"
        #- echo y | sdkmanager "cmake"
        - ls -lrt $ANDROID_NDK_HOME/build
        - ls -lrt $ANDROID_NDK_HOME/build/cmake
      script:
      - cd CppLisp
      - cmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake -DANDROID_ABI=android-24 CMakeLists.txt
      - make -j 4
      - ls -lrt
      #- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./CppLispInterpreter:./CppLispDebugger
      #- ./fuel -v
      #- ./fuel -e "(println (platform))"
{'fraction_non_alphanumeric': 0.10979860573199071, 'fraction_numerical': 0.01820294345468629, 'mean_word_length': 1.3725310059715203, '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': '556717', 'n_tokens_mistral': 1869, 'n_tokens_neox': 1772, 'n_words': 313}