Skip to content

Merge pull request #13 from pytorch-labs/error_msg #14

Merge pull request #13 from pytorch-labs/error_msg

Merge pull request #13 from pytorch-labs/error_msg #14

Workflow file for this run

name: trunk
on:
pull_request:
tags:
- ciflow/trunk/*
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-macos:
name: unittest-macos
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
strategy:
fail-fast: false
with:
runner: macos-m1-stable
python-version: '3.11'
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
ctest