Skip to content

Include tk_pal_emit_log_message tk_pal_log_level_t into tokenizers #28

Include tk_pal_emit_log_message tk_pal_log_level_t into tokenizers

Include tk_pal_emit_log_message tk_pal_log_level_t into tokenizers #28

Workflow file for this run

name: pull
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
cancel-in-progress: true
jobs:
unittest-linux:
name: unittest-linux
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
strategy:
fail-fast: false
with:
runner: linux.2xlarge
submodules: 'true'
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
timeout: 90
script: |
cmake -DTOKENIZERS_BUILD_TEST=ON -DCMAKE_BUILD_TYPE=Debug . -Bbuild
cmake --build build -j9 --config Debug
# Run unit tests
export RESOURCES_PATH=test/resources
build/sentencepiece_test
build/tiktoken_test