-
Notifications
You must be signed in to change notification settings - Fork 6
29 lines (27 loc) · 891 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
run-tests:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install OpenBLAS
if: ${{ runner.os == 'Linux' }}
run: sudo apt install libopenblas-dev
- uses: actions/checkout@v3
- name: Configure CMake
run: cmake -S ./src -B ./src/build -DCMAKE_BUILD_TYPE=Debug -DTILEDB_VS_ENABLE_BLAS=ON
- name: Build
run: cmake --build ./src/build -j3
- name: Fix Windows dll inclusion with ctest
if: ${{ runner.os == 'Windows' }}
run: |
cp .\src\build\externals\install\bin\tiledb.dll D:/a/TileDB-Vector-Search/TileDB-Vector-Search/src/build/libtiledbvectorsearch/include/test
- name: Run Tests
run: cmake --build ./src/build --target check-ci