mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-01 06:30:52 +02:00
cache CPM.cmake dependencies
This commit is contained in:
parent
cc810d0ea2
commit
e8d386c823
7 changed files with 102 additions and 67 deletions
7
.github/workflows/documentation.yaml
vendored
7
.github/workflows/documentation.yaml
vendored
|
@ -12,6 +12,11 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: '**/cpm_modules'
|
||||
key: cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
brew install doxygen
|
||||
|
@ -19,7 +24,7 @@ jobs:
|
|||
|
||||
- name: Build
|
||||
run: |
|
||||
cmake -Hdocumentation -Bbuild
|
||||
cmake -Sdocumentation -Bbuild -DCPM_SOURCE_CACHE=$(pwd)/cpm_modules
|
||||
cmake --build build --target GenerateDocs
|
||||
|
||||
- name: Publish
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue