<commit_before>version: "{build}-{branch}"
skip_tags: true
shallow_clone: true
build: false
environment:
  global:
    # use a short path prefix to avoid running into path-length limitations
    STACK_ROOT: C:\sr
  matrix:
  - STACK_YAML: stack.yaml
cache:
- "%STACK_ROOT%"

install:
 - set PATH=%CD%\_stack;C:\msys64\usr\bin;%PATH%
 - set PATH=C:\Users\appveyor\AppData\Roaming\local\bin\;%PATH%
 - curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
 - 7z x stack.zip stack.exe > nul
 - stack setup > nul
 - stack build alex happy
 - stack --no-terminal test --only-dependencies -j 3
 - stack install

test_script:
- stack --no-terminal test
- futhark-test -- --nobuffer tests examples<commit_msg>Try using an older GHC on AppVeyor.<commit_after>version: "{build}-{branch}"
skip_tags: true
shallow_clone: true
build: false
environment:
  global:
    # use a short path prefix to avoid running into path-length limitations
    STACK_ROOT: C:\sr
  matrix:
  - STACK_YAML: stack-lts-9.2.yaml
cache:
- "%STACK_ROOT%"

install:
 - set PATH=%CD%\_stack;C:\msys64\usr\bin;%PATH%
 - set PATH=C:\Users\appveyor\AppData\Roaming\local\bin\;%PATH%
 - curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
 - 7z x stack.zip stack.exe > nul
 - stack setup > nul
 - stack build alex happy
 - stack --no-terminal test --only-dependencies -j 3
 - stack install

test_script:
- stack --no-terminal test
- futhark-test -- --nobuffer tests examples
{'fraction_non_alphanumeric': 0.13783783783783785, 'fraction_numerical': 0.010810810810810811, 'mean_word_length': 3.394658753709199, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2913256', 'n_tokens_mistral': 548, 'n_tokens_neox': 519, 'n_words': 139}