mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 16:56:27 +02:00
gha: attempt fuzz fixing
This commit is contained in:
parent
b669801d31
commit
b1a02195d9
1 changed files with 9 additions and 2 deletions
11
.github/workflows/fuzz.yaml
vendored
11
.github/workflows/fuzz.yaml
vendored
|
|
@ -24,6 +24,8 @@ jobs:
|
||||||
wget -qO- https://apt.llvm.org/llvm.sh | sudo bash -s -- 18
|
wget -qO- https://apt.llvm.org/llvm.sh | sudo bash -s -- 18
|
||||||
echo "FUZZ_CC=clang-18" >> $GITHUB_ENV
|
echo "FUZZ_CC=clang-18" >> $GITHUB_ENV
|
||||||
- run: ./scripts/vendor.sh
|
- run: ./scripts/vendor.sh
|
||||||
|
- name: Generate sqlite-vec.h
|
||||||
|
run: make sqlite-vec.h
|
||||||
- name: Build fuzz targets
|
- name: Build fuzz targets
|
||||||
run: make -C tests/fuzz all FUZZ_CC=$FUZZ_CC FUZZ_LDFLAGS=
|
run: make -C tests/fuzz all FUZZ_CC=$FUZZ_CC FUZZ_LDFLAGS=
|
||||||
- name: Run fuzz targets
|
- name: Run fuzz targets
|
||||||
|
|
@ -64,6 +66,8 @@ jobs:
|
||||||
- name: Install LLVM
|
- name: Install LLVM
|
||||||
run: brew install llvm
|
run: brew install llvm
|
||||||
- run: ./scripts/vendor.sh
|
- run: ./scripts/vendor.sh
|
||||||
|
- name: Generate sqlite-vec.h
|
||||||
|
run: make sqlite-vec.h
|
||||||
- name: Build fuzz targets
|
- name: Build fuzz targets
|
||||||
run: make -C tests/fuzz all FUZZ_CC=/opt/homebrew/opt/llvm/bin/clang
|
run: make -C tests/fuzz all FUZZ_CC=/opt/homebrew/opt/llvm/bin/clang
|
||||||
- name: Run fuzz targets
|
- name: Run fuzz targets
|
||||||
|
|
@ -106,10 +110,13 @@ jobs:
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install LLVM 18
|
- name: Install LLVM
|
||||||
run: choco install llvm --version=18.1.8 -y
|
run: choco install llvm -y
|
||||||
- run: bash ./scripts/vendor.sh
|
- run: bash ./scripts/vendor.sh
|
||||||
shell: bash
|
shell: bash
|
||||||
|
- name: Generate sqlite-vec.h
|
||||||
|
shell: bash
|
||||||
|
run: make sqlite-vec.h
|
||||||
- name: Build fuzz targets
|
- name: Build fuzz targets
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue