<commit_before>stages:
- build

variables:
    docker_tag: "atpm"
    cli_executable: "atpm"

before_script: 
    - git submodule update --init --recursive
linux:
    stage: build
    script:
        - docker build -t $docker_tag .
        - id=$(docker create $docker_tag)
        - mkdir bin
        - docker cp $id:$docker_tag/.atllbuild/products/$cli-executable bin/$cli_executable
        - docker rm -v $id
        - docker rmi $docker_tag
    tags:
        - docker
    artifacts:
        paths:
            - bin

osx:
    stage: build
    script: 
        - export PATH=/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin:"${PATH}"
        - atbuild check
    tags:
        - openswift
    artifacts:
        paths:
            - .atllbuild/products/$cli_executable<commit_msg>Typo in gilab ci script<commit_after>stages:
- build

variables:
    docker_tag: "atpm"
    cli_executable: "atpm"

before_script: 
    - git submodule update --init --recursive
linux:
    stage: build
    script:
        - docker build -t $docker_tag .
        - id=$(docker create $docker_tag)
        - mkdir bin
        - docker cp $id:$docker_tag/.atllbuild/products/$cli_executable bin/$cli_executable
        - docker rm -v $id
        - docker rmi $docker_tag
    tags:
        - docker
    artifacts:
        paths:
            - bin

osx:
    stage: build
    script: 
        - export PATH=/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin:"${PATH}"
        - atbuild check
    tags:
        - openswift
    artifacts:
        paths:
            - .atllbuild/products/$cli_executable
{'fraction_non_alphanumeric': 0.10286783042394015, 'fraction_numerical': 0.0, 'mean_word_length': 1.8866906474820144, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '53878', 'n_tokens_mistral': 550, 'n_tokens_neox': 505, 'n_words': 113}