mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-03 23:50:53 +02:00
cache CPM.cmake dependencies
This commit is contained in:
parent
cc810d0ea2
commit
e8d386c823
7 changed files with 102 additions and 67 deletions
21
.github/workflows/standalone.yml
vendored
21
.github/workflows/standalone.yml
vendored
|
@ -14,13 +14,18 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: configure
|
||||
run: cmake -Hstandalone -Bbuild -DCMAKE_BUILD_TYPE=Debug
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: '**/cpm_modules'
|
||||
key: cpm-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
|
||||
|
||||
- name: build
|
||||
run: cmake --build build -j4
|
||||
- name: configure
|
||||
run: cmake -Sstandalone -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_BUILD_TYPE=Debug
|
||||
|
||||
- name: run
|
||||
run: ./build/Greeter
|
||||
- name: build
|
||||
run: cmake --build build -j4
|
||||
|
||||
- name: run
|
||||
run: ./build/Greeter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue