<commit_before>build_ubuntu_20_10:
  stage: build
  image: ubuntu:groovy
  before_script:
    - sed -i -e 's/# deb-src/deb-src/g' /etc/apt/sources.list
    - apt update
    - apt install --yes eatmydata
    - eatmydata apt build-dep --yes --no-install-recommends qca2
    - eatmydata apt install --yes --no-install-recommends ninja-build libbotan-2-dev libnss3-dev libgcrypt20-dev libpkcs11-helper1-dev gnupg
  script:
    - mkdir -p build && cd build
    - cmake -G Ninja ..
    - ninja
    - QT_PLUGIN_PATH=`pwd`/lib/qca-qt5/ ctest -V

build_clazy_clang_tidy:<commit_msg>CI: add job for Qt 6 build/test<commit_after>build_ubuntu_20_10:
  stage: build
  image: ubuntu:groovy
  before_script:
    - sed -i -e 's/# deb-src/deb-src/g' /etc/apt/sources.list
    - apt update
    - apt install --yes eatmydata
    - eatmydata apt build-dep --yes --no-install-recommends qca2
    - eatmydata apt install --yes --no-install-recommends ninja-build libbotan-2-dev libnss3-dev libgcrypt20-dev libpkcs11-helper1-dev gnupg
  script:
    - mkdir -p build && cd build
    - cmake -G Ninja ..
    - ninja
    - QT_PLUGIN_PATH=`pwd`/lib/qca-qt5/ ctest -V

build_fedora_34:
  stage: build
  image: fedora:34
  before_script:
    - dnf -y --setopt=install_weak_deps=False install git gcc-c++ make cmake ninja-build qt6-qtbase-devel qt6-qt5compat-devel botan2-devel cyrus-sasl-devel nss-devel libgcrypt-devel pkcs11-helper-devel gnupg
  script:
    - mkdir -p build && cd build
    - cmake -G Ninja -DQT6=ON ..
    - ninja
    - QT_PLUGIN_PATH=`pwd`/lib/qca-qt6/ ctest -V

build_clazy_clang_tidy:
{'fraction_non_alphanumeric': 0.1185044359949303, 'fraction_numerical': 0.024714828897338403, 'mean_word_length': 2.741706161137441, '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': '1300043', 'n_tokens_mistral': 676, 'n_tokens_neox': 631, 'n_words': 140}