gha: attempt fuzz fixing

This commit is contained in:
Alex Garcia 2026-03-03 06:44:35 -08:00
parent b669801d31
commit b1a02195d9

View file

@ -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: |