mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
use sudo to install
This commit is contained in:
parent
de74af1341
commit
578bf1e83f
1 changed files with 5 additions and 5 deletions
10
.github/workflows/install.yml
vendored
10
.github/workflows/install.yml
vendored
|
@ -16,16 +16,16 @@ jobs:
|
||||||
- name: install
|
- name: install
|
||||||
run: |
|
run: |
|
||||||
cmake -H. -Bbuild
|
cmake -H. -Bbuild
|
||||||
cmake --build build
|
sudo cmake --build build --target install
|
||||||
cmake --build build --target install
|
rm -rf build
|
||||||
|
|
||||||
- name: configure
|
- name: configure
|
||||||
run: cmake -Htest -Bbuild/test -DTEST_INSTALLED_VERSION=1
|
run: cmake -Htest -Bbuild -DTEST_INSTALLED_VERSION=1
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: cmake --build build/test --config Debug
|
run: cmake --build build --config Debug
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
cd build/test
|
cd build
|
||||||
ctest --build-config Debug
|
ctest --build-config Debug
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue