Skip to content

Don't use CMAKE_INSTALL_PREFIX in tokenizers-config.cmake #384

Don't use CMAKE_INSTALL_PREFIX in tokenizers-config.cmake

Don't use CMAKE_INSTALL_PREFIX in tokenizers-config.cmake #384

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_v2.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: |
set -ex
cmake -DCMAKE_BUILD_TYPE=Debug test -Bbuild/test
cmake --build build/test -j9 --config Debug
pushd build/test && ctest && popd
# Install tokenizers
pip install . -v
pip install pytest blobfile transformers>=4.53.1
# Run tests
pytest