Files
LEANN/packages/leann-backend-diskann/third_party/DiskANN/.github/workflows/unit-tests.yml
yichuan520030910320 46f6cc100b Initial commit
2025-06-30 09:05:05 +00:00

32 lines
791 B
YAML

name: Unit Tests
on: [workflow_call]
jobs:
acceptance-tests-labels:
name: Unit Tests
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-2019, windows-latest]
runs-on: ${{matrix.os}}
defaults:
run:
shell: bash
steps:
- name: Checkout repository
if: ${{ runner.os == 'Linux' }}
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Checkout repository
if: ${{ runner.os == 'Windows' }}
uses: actions/checkout@v3
with:
fetch-depth: 1
submodules: true
- name: DiskANN Build CLI Applications
uses: ./.github/actions/build
- name: Run Unit Tests
run: |
cd build
ctest -C Release