mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-07 19:10:25 +00:00
Cache the downloaded pandoc binary.
This commit is contained in:
6
.github/workflows/appimage.yml
vendored
6
.github/workflows/appimage.yml
vendored
@@ -17,6 +17,7 @@ concurrency:
|
||||
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm-cache
|
||||
PANDOC_CACHE_DIR: ${{ github.workspace }}/pandoc-cache
|
||||
|
||||
jobs:
|
||||
build-appimage:
|
||||
@@ -40,6 +41,11 @@ jobs:
|
||||
path: ${{ env.CPM_SOURCE_CACHE }}
|
||||
key: ${{ runner.os }}-cpm-${{ hashFiles('**/vendor.cmake', '**/CMakeLists.txt') }}
|
||||
restore-keys: ${{ runner.os }}-cpm-
|
||||
- name: Cache pandoc
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ env.PANDOC_CACHE_DIR }}
|
||||
key: ${{ runner.os }}-pandoc-${{ hashFiles('cmake/manual.cmake') }}
|
||||
- name: Cache wayland
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
||||
6
.github/workflows/emscripten.yml
vendored
6
.github/workflows/emscripten.yml
vendored
@@ -16,6 +16,7 @@ concurrency:
|
||||
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm-cache
|
||||
PANDOC_CACHE_DIR: ${{ github.workspace }}/pandoc-cache
|
||||
|
||||
jobs:
|
||||
build-emscripten:
|
||||
@@ -37,6 +38,11 @@ jobs:
|
||||
path: ${{ env.CPM_SOURCE_CACHE }}
|
||||
key: ${{ runner.os }}-cpm-${{ hashFiles('**/vendor.cmake', '**/CMakeLists.txt') }}
|
||||
restore-keys: ${{ runner.os }}-cpm-
|
||||
- name: Cache pandoc
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ env.PANDOC_CACHE_DIR }}
|
||||
key: ${{ runner.os }}-pandoc-${{ hashFiles('cmake/manual.cmake') }}
|
||||
- name: Profiler GUI
|
||||
run: |
|
||||
cmake -G Ninja -B profiler/build -S profiler -DCMAKE_BUILD_TYPE=MinSizeRel -DGIT_REV=${{ github.sha }} -DCMAKE_TOOLCHAIN_FILE=${{env.EMSDK}}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake
|
||||
|
||||
6
.github/workflows/linux.yml
vendored
6
.github/workflows/linux.yml
vendored
@@ -16,6 +16,7 @@ concurrency:
|
||||
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm-cache
|
||||
PANDOC_CACHE_DIR: ${{ github.workspace }}/pandoc-cache
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
@@ -33,6 +34,11 @@ jobs:
|
||||
path: ${{ env.CPM_SOURCE_CACHE }}
|
||||
key: ${{ runner.os }}-cpm-${{ hashFiles('**/vendor.cmake', '**/CMakeLists.txt') }}
|
||||
restore-keys: ${{ runner.os }}-cpm-
|
||||
- name: Cache pandoc
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ env.PANDOC_CACHE_DIR }}
|
||||
key: ${{ runner.os }}-pandoc-${{ hashFiles('cmake/manual.cmake') }}
|
||||
- name: Determine build parallelism
|
||||
run: |
|
||||
if [ "${ACT:-}" != "true" ] && [ "${FORGEJO_ACTIONS:-}" != "true" ]; then
|
||||
|
||||
6
.github/workflows/macos.yml
vendored
6
.github/workflows/macos.yml
vendored
@@ -17,6 +17,7 @@ concurrency:
|
||||
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm-cache
|
||||
PANDOC_CACHE_DIR: ${{ github.workspace }}/pandoc-cache
|
||||
|
||||
jobs:
|
||||
build-macos:
|
||||
@@ -29,6 +30,11 @@ jobs:
|
||||
path: ${{ env.CPM_SOURCE_CACHE }}
|
||||
key: ${{ runner.os }}-cpm-${{ hashFiles('**/vendor.cmake', '**/CMakeLists.txt') }}
|
||||
restore-keys: ${{ runner.os }}-cpm-
|
||||
- name: Cache pandoc
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ env.PANDOC_CACHE_DIR }}
|
||||
key: ${{ runner.os }}-pandoc-${{ hashFiles('cmake/manual.cmake') }}
|
||||
- name: Install dependencies
|
||||
run: brew install pkg-config meson
|
||||
- name: Trust git repo
|
||||
|
||||
6
.github/workflows/windows.yml
vendored
6
.github/workflows/windows.yml
vendored
@@ -17,6 +17,7 @@ concurrency:
|
||||
|
||||
env:
|
||||
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm-cache
|
||||
PANDOC_CACHE_DIR: ${{ github.workspace }}/pandoc-cache
|
||||
|
||||
jobs:
|
||||
build-windows:
|
||||
@@ -29,6 +30,11 @@ jobs:
|
||||
path: ${{ env.CPM_SOURCE_CACHE }}
|
||||
key: ${{ runner.os }}-cpm-${{ hashFiles('**/vendor.cmake', '**/CMakeLists.txt') }}
|
||||
restore-keys: ${{ runner.os }}-cpm-
|
||||
- name: Cache pandoc
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ env.PANDOC_CACHE_DIR }}
|
||||
key: ${{ runner.os }}-pandoc-${{ hashFiles('cmake/manual.cmake') }}
|
||||
- uses: microsoft/setup-msbuild@v2
|
||||
- name: Trust git repo
|
||||
run: git config --global --add safe.directory '*'
|
||||
|
||||
Reference in New Issue
Block a user