Initial commit
This commit is contained in:
32
packages/leann-backend-diskann/third_party/DiskANN/.github/workflows/unit-tests.yml
vendored
Normal file
32
packages/leann-backend-diskann/third_party/DiskANN/.github/workflows/unit-tests.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
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
|
||||
Reference in New Issue
Block a user