1
0
Fork 0
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:
Lars Melchior 2021-01-21 10:05:13 +01:00
parent db49d07ca1
commit bc87a4d311

View file

@ -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