<commit_before>version: 2
jobs:
  build-ubuntu-x86_64:
    machine:
      image: circleci/classic:latest
    steps:
      - checkout
      - run:
          name: "Build container"
          command: OS=ubuntu-x86_64 ./contrib/ci/generate_docker.py build
      - run:
          name: "Run build script"
          command: docker run --privileged -e CI=true -t -v `pwd`:/github/workspace fwupd-ubuntu-x86_64
      - persist_to_workspace:
          root: .
          paths:
            - "dist/share/doc/fwupd"

  build-windows:
    docker:
      - image: fedora:36
    steps:
      - run:
          name: "Install deps"
          command: dnf install -y diffutils
                                  glib2-devel
                                  git-core
                                  gnutls-utils
                                  jq
                                  meson
                                  git
                                  gcc
                                  gcab
                                  ca-certificates
                                  python3-pip
                                  mingw32-nsis
                                  mingw64-brotli
                                  mingw64-gcc
                                  mingw64-gettext
                                  mingw64-pkg-config
                                  mingw64-glib2
                                  mingw64-gnutls
                                  mingw64-libusbx
                                  mingw64-sqlite
                                  mingw64-libarchive
                                  mingw64-json-glib
                                  mingw64-curl
                                  wine && dnf install -y https://kojipkgs.fedoraproject.org//work/tasks/4757/84554757/glib2-2.72.0-2.fc36.i686.rpm https://kojipkgs.fedoraproject.org//work/tasks/4758/84554758/glib2-2.72.0-2.fc36.x86_64.rpm https://kojipkgs.fedoraproject.org//work/tasks/4758/84554758/glib2-devel-2.72.0-2.fc36.x86_64.rpm
      - checkout
      - run:
          name: "Build Win32"<commit_msg>trivial: Fix the F36 CI by using the tagged packages<commit_after>version: 2
jobs:
  build-ubuntu-x86_64:
    machine:
      image: circleci/classic:latest
    steps:
      - checkout
      - run:
          name: "Build container"
          command: OS=ubuntu-x86_64 ./contrib/ci/generate_docker.py build
      - run:
          name: "Run build script"
          command: docker run --privileged -e CI=true -t -v `pwd`:/github/workspace fwupd-ubuntu-x86_64
      - persist_to_workspace:
          root: .
          paths:
            - "dist/share/doc/fwupd"

  build-windows:
    docker:
      - image: fedora:36
    steps:
      - run:
          name: "Install deps"
          command: dnf install -y diffutils
                                  glib2-devel
                                  git-core
                                  gnutls-utils
                                  jq
                                  meson
                                  git
                                  gcc
                                  gcab
                                  ca-certificates
                                  python3-pip
                                  mingw32-nsis
                                  mingw64-brotli
                                  mingw64-gcc
                                  mingw64-gettext
                                  mingw64-pkg-config
                                  mingw64-glib2
                                  mingw64-gnutls
                                  mingw64-libusbx
                                  mingw64-sqlite
                                  mingw64-libarchive
                                  mingw64-json-glib
                                  mingw64-curl
                                  wine && dnf install -y https://kojipkgs.fedoraproject.org/packages/glib2/2.72.0/2.fc36/i686/glib2-2.72.0-2.fc36.i686.rpm https://kojipkgs.fedoraproject.org/packages/glib2/2.72.0/2.fc36/x86_64/glib2-2.72.0-2.fc36.x86_64.rpm https://kojipkgs.fedoraproject.org/packages/glib2/2.72.0/2.fc36/x86_64/glib2-devel-2.72.0-2.fc36.x86_64.rpm
      - checkout
      - run:
          name: "Build Win32"
{'fraction_non_alphanumeric': 0.07498231549162933, 'fraction_numerical': 0.054468285781655267, 'mean_word_length': 0.8167023554603854, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 46, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1028507', 'n_tokens_mistral': 1392, 'n_tokens_neox': 1167, 'n_words': 176}