<commit_before>name: LLPC Docker CI

on:
  push:
    branches:
      - '*'
      - '!master'
  pull_request:

jobs:
  build-and-test:
    name: "Features: ${{ matrix.feature-set }}, assertions: ${{ matrix.assertions }}"
    runs-on: ${{ matrix.host-os }}
    strategy:
      fail-fast: false
      matrix:
        host-os:             ["ubuntu-20.04"]
        base-image-template: ["gcr.io/stadia-open-source/amdvlk_%s%s_%s:nightly"]
        config:              [Release]
        assertions:          ["OFF", "ON"]
        feature-set:         ["+gcc", "+clang", "+clang+shadercache", "+clang+sanitizers"]
    steps:
      - name: Free up disk space
        if: contains(matrix.feature-set, '+sanitizers')
        run: |
          echo 'Before:' && df -h
          sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/hostedtoolcache/boost /opt/ghc
          echo 'After:' && df -h
      - name: Checkout LLPC
        run: |
          git clone https://github.com/${GITHUB_REPOSITORY}.git .
          git fetch origin +${GITHUB_SHA}:${GITHUB_REF} --update-head-ok
          git checkout ${GITHUB_SHA}<commit_msg>[CI] Temporarily disable sanitizer builds<commit_after>name: LLPC Docker CI

on:
  push:
    branches:
      - '*'
      - '!master'
  pull_request:

jobs:
  build-and-test:
    name: "Features: ${{ matrix.feature-set }}, assertions: ${{ matrix.assertions }}"
    runs-on: ${{ matrix.host-os }}
    strategy:
      fail-fast: false
      matrix:
        host-os:             ["ubuntu-20.04"]
        base-image-template: ["gcr.io/stadia-open-source/amdvlk_%s%s_%s:nightly"]
        config:              [Release]
        assertions:          ["OFF", "ON"]
        feature-set:         ["+gcc", "+clang", "+clang+shadercache"]
    steps:
      - name: Free up disk space
        if: contains(matrix.feature-set, '+sanitizers')
        run: |
          echo 'Before:' && df -h
          sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/hostedtoolcache/boost /opt/ghc
          echo 'After:' && df -h
      - name: Checkout LLPC
        run: |
          git clone https://github.com/${GITHUB_REPOSITORY}.git .
          git fetch origin +${GITHUB_SHA}:${GITHUB_REF} --update-head-ok
          git checkout ${GITHUB_SHA}
{'fraction_non_alphanumeric': 0.15559518502006242, 'fraction_numerical': 0.0035666518056174765, 'mean_word_length': 2.0, 'pattern_counts': {'":': 0, '<': 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': '515443', 'n_tokens_mistral': 779, 'n_tokens_neox': 751, 'n_words': 154}