mirror of
https://github.com/open-goal/jak-project
synced 2026-06-15 06:31:22 -04:00
ci: set cmake preset in informing workflow (#2237)
This commit is contained in:
@@ -6,6 +6,7 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- 'goal_src/**'
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
gen-docs:
|
||||
@@ -33,7 +34,7 @@ jobs:
|
||||
- name: Setup Buildcache
|
||||
uses: mikehardy/buildcache-action@v2.1.0
|
||||
with:
|
||||
cache_key: linux-ubuntu-20.04-${{ inputs.cachePrefix }}-${{ inputs.cmakePreset }}
|
||||
cache_key: linux-ubuntu-20.04--Release-linux-clang
|
||||
buildcache_tag: v0.28.1
|
||||
|
||||
- name: CMake Generation
|
||||
@@ -41,7 +42,7 @@ jobs:
|
||||
CC: clang
|
||||
CXX: clang++
|
||||
run: |
|
||||
cmake -B build --preset=${{ inputs.cmakePreset }} \
|
||||
cmake -B build --preset=Release-linux-clang \
|
||||
-DCMAKE_C_COMPILER_LAUNCHER=${{ github.workspace }}/buildcache/bin/buildcache \
|
||||
-DCMAKE_CXX_COMPILER_LAUNCHER=${{ github.workspace }}/buildcache/bin/buildcache
|
||||
|
||||
|
||||
Reference in New Issue
Block a user