use sudo to install

This commit is contained in:
Lars Melchior 2020-04-13 17:34:05 +02:00
parent de74af1341
commit 578bf1e83f

View file

@ -16,16 +16,16 @@ jobs:
- name: install
run: |
cmake -H. -Bbuild
cmake --build build
cmake --build build --target install
sudo cmake --build build --target install
rm -rf build
- name: configure
run: cmake -Htest -Bbuild/test -DTEST_INSTALLED_VERSION=1
run: cmake -Htest -Bbuild -DTEST_INSTALLED_VERSION=1
- name: build
run: cmake --build build/test --config Debug
run: cmake --build build --config Debug
- name: test
run: |
cd build/test
cd build
ctest --build-config Debug