ci: set cmake preset in informing workflow (#2237)

This commit is contained in:
Tyler Wilding
2023-02-20 22:14:47 -05:00
committed by GitHub
parent 08ce65fd9b
commit 3c3d45d497
+3 -2
View File
@@ -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