[fix] #2450
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: push | |
jobs: | |
build-windows-latest: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
compiler: ["Visual Studio 17 2022", "MinGW Makefiles"] | |
fail-fast: false | |
env: | |
EXTRA_FLAGS: "${{ matrix.compiler == 'Visual Studio 17 2022' && '-Ax64' || '' }}" | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Build Reindexer | |
run: | | |
mkdir build && cd build | |
cmake -G "${{matrix.compiler}}" -DBUILD_ANN_INDEXES=builtin .. $EXTRA_FLAGS | |
cmake --build . --config Release | |
cmake --build . --config Release --target face | |
cmake --build . --config Release --target swagger | |
cpack | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: windows-latest | |
path: build/*.exe | |
if-no-files-found: error | |