@@ -40,13 +40,15 @@ jobs:
4040 - name : Configure CMake
4141 run : |
4242 cmake --version
43- cmake -S . -B build ${{ matrix.config.cmake_extra }} \
43+ cmake -S . -B build \
44+ -DCMAKE_BUILD_TYPE=Release \
45+ -DCMAKE_INSTALL_PREFIX=${PWD}/install \
4446 -DLSL_UNITTESTS=ON \
4547 -DLSL_BUILD_EXAMPLES=ON \
4648 -DCPACK_PACKAGE_DIRECTORY=${PWD}/package \
47- -DCMAKE_INSTALL_PREFIX=${PWD}/build/install \
4849 -Dlslgitrevision=${{ github.sha }} \
49- -Dlslgitbranch=${{ github.ref }}
50+ -Dlslgitbranch=${{ github.ref }} \
51+ ${{ matrix.config.cmake_extra }}
5052 - name : make
5153 run : cmake --build build --config Release -j --target install
5254
6870 uses : actions/upload-artifact@master
6971 with :
7072 name : build-${{ matrix.config.name }}
71- path : build/ install
73+ path : install
7274
7375 - name : upload package
7476 uses : actions/upload-artifact@master
@@ -86,11 +88,11 @@ jobs:
8688 fi
8789
8890 - name : unit tests (internal functions)
89- run : build/ install/bin/lsl_test_internal --order rand --wait-for-keypress never --durations yes
91+ run : install/bin/lsl_test_internal --order rand --wait-for-keypress never --durations yes
9092 timeout-minutes : 5
9193
9294 - name : unit tests (exported functions)
93- run : build/ install/bin/lsl_test_exported --order rand --wait-for-keypress never --durations yes
95+ run : install/bin/lsl_test_exported --order rand --wait-for-keypress never --durations yes
9496 timeout-minutes : 5
9597 if : ${{ success() || failure() }}
9698 - name : upload to release page
0 commit comments