generated from cpp-best-practices/gui_starter_template
-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update build system, use CPM * Based on most recent changes to cmake_template
- Loading branch information
Showing
38 changed files
with
1,849 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
name: 'setup_cache' | ||
description: 'sets up the shared cache' | ||
inputs: | ||
compiler: | ||
required: true | ||
type: string | ||
build_type: | ||
required: true | ||
type: string | ||
generator: | ||
required: true | ||
type: string | ||
developer_mode: | ||
required: true | ||
type: string | ||
|
||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Cache | ||
uses: actions/cache@v2 | ||
with: | ||
# You might want to add .ccache to your cache configuration? | ||
path: | | ||
~/.cache/pip | ||
${{ env.HOME }}/.cache/vcpkg/archives | ||
${{ env.XDG_CACHE_HOME }}/vcpkg/archives | ||
${{ env.LOCALAPPDATA }}\vcpkg\archives | ||
${{ env.APPDATA }}\vcpkg\archives | ||
key: ${{ runner.os }}-${{ inputs.compiler }}-${{ inputs.build_type }}-${{ inputs.generator }}-${{ inputs.developer_mode }}-${{ hashFiles('**/CMakeLists.txt') }}-${{ hashFiles('./vcpkg.json')}} | ||
restore-keys: | | ||
${{ runner.os }}-${{ inputs.compiler }}-${{ inputs.build_type }} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.