@@ -37,6 +37,15 @@ concurrency:
3737jobs :
3838 build-cpp-runtime-bindings :
3939 runs-on : ubuntu-22.04
40+ strategy :
41+ matrix :
42+ include :
43+ - name : " with static library"
44+ enable_lvq_leanvec : " ON"
45+ suffix : " "
46+ - name : " public only"
47+ enable_lvq_leanvec : " OFF"
48+ suffix : " -public-only"
4049
4150 steps :
4251 - uses : actions/checkout@v5
@@ -50,19 +59,28 @@ jobs:
5059 docker run --rm \
5160 -v ${{ github.workspace }}:/workspace \
5261 -w /workspace \
62+ -e ENABLE_LVQ_LEANVEC=${{ matrix.enable_lvq_leanvec }} \
63+ -e SUFFIX=${{ matrix.suffix }} \
5364 svs-manylinux228:latest \
5465 /bin/bash -c "chmod +x docker/x86_64/build-cpp-runtime-bindings.sh && ./docker/x86_64/build-cpp-runtime-bindings.sh"
5566
5667 - name : Upload cpp runtime bindings artifacts
5768 uses : actions/upload-artifact@v4
5869 with :
59- name : svs-cpp-runtime-bindings
60- path : svs-cpp-runtime-bindings.tar.gz
70+ name : svs-cpp-runtime-bindings${{ matrix.suffix }}
71+ path : svs-cpp-runtime-bindings${{ matrix.suffix }} .tar.gz
6172 retention-days : 7 # Reduce retention due to size
6273
6374 test :
6475 needs : build-cpp-runtime-bindings
6576 runs-on : ubuntu-22.04
77+ strategy :
78+ matrix :
79+ include :
80+ - name : " with static library"
81+ suffix : " "
82+ - name : " public only"
83+ suffix : " -public-only"
6684
6785 steps :
6886 - uses : actions/checkout@v5
7593 - name : Download shared libraries
7694 uses : actions/download-artifact@v4
7795 with :
78- name : svs-cpp-runtime-bindings
96+ name : svs-cpp-runtime-bindings${{ matrix.suffix }}
7997 path : runtime_lib
8098
8199 - name : List available artifacts
88106 -v ${{ github.workspace }}:/workspace \
89107 -v ${{ github.workspace }}/runtime_lib:/runtime_lib \
90108 -w /workspace \
109+ -e SUFFIX=${{ matrix.suffix }} \
91110 svs-manylinux228:latest \
92111 /bin/bash -c "chmod +x docker/x86_64/test-cpp-runtime-bindings.sh && ./docker/x86_64/test-cpp-runtime-bindings.sh"
0 commit comments