mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
also use cache in install test
This commit is contained in:
parent
db49d07ca1
commit
bc87a4d311
1 changed files with 3 additions and 1 deletions
4
.github/workflows/install.yml
vendored
4
.github/workflows/install.yml
vendored
|
@ -24,8 +24,10 @@ jobs:
|
|||
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
||||
|
||||
- name: build and install library
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
|
||||
run: |
|
||||
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release
|
||||
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
|
||||
sudo cmake --build build --target install
|
||||
rm -rf build
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue