Skip to content

Commit a66bcf1

Browse files
committed
ci: run packaging test on Linux and OSX
1 parent 6d19bd5 commit a66bcf1

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/ci-linux-osx-win-conda.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff 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}

0 commit comments

Comments
 (0)