File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -120,12 +120,15 @@ jobs:
120120 # g++ -std=c++17 examples/cpp/overview-simple.cpp -o overview-simple $(pkg-config --cflags proxsuite)
121121 # ./overview-simple
122122
123- # - name: Test CMake pacakging [Conda]
124- # shell: bash -l {0}
125- # run: |
126- # cd build
127- # g++ -std=c++17 examples/cpp/overview-simple.cpp -o overview-simple $(pkg-config --cflags proxsuite)
128- # ./overview-simple
123+ - name : Test CMake pacakging [Conda]
124+ if : contains(matrix.os, 'macos') || contains(matrix.os, 'ubuntu')
125+ shell : bash -l {0}
126+ run : |
127+ cd test/packaging/cmake
128+ mkdir build
129+ cmake .. -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
130+ cmake --build . --config ${{ matrix.build_type }} --target all
131+ ./run-proxqp
129132
130133 - name : Uninstall [Conda]
131134 shell : bash -l {0}
You can’t perform that action at this time.
0 commit comments