mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-24 05:14:40 -04:00
switch cache action back
This commit is contained in:
parent
e6e5c8aafa
commit
eea6d17d33
1 changed files with 7 additions and 5 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
@ -14,7 +14,7 @@ on:
|
|||
- '!no-build-**' # unless marked as no-build
|
||||
|
||||
env:
|
||||
SCCACHE_GHA_ENABLED: "true"
|
||||
SCCACHE_GHA_ENABLED: "on"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -46,8 +46,11 @@ jobs:
|
|||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Configure sccache
|
||||
uses: mozilla-actions/sccache-action@v0.0.3
|
||||
- name: Configure cache
|
||||
uses: hendrikmuhs/ccache-action@v1
|
||||
with:
|
||||
key: ${{ matrix.config.os }}
|
||||
variant: sccache
|
||||
|
||||
- uses: ilammy/msvc-dev-cmd@v1
|
||||
with:
|
||||
|
@ -72,8 +75,7 @@ jobs:
|
|||
|
||||
- name: Configure CMake
|
||||
run: >
|
||||
cmake -B
|
||||
${{ github.workspace }}/build
|
||||
cmake -B ${{ github.workspace }}/build
|
||||
${{ matrix.config.extra_flags }}
|
||||
-DCLI_PATH="${{ github.workspace }}/cli"
|
||||
-DCMAKE_C_COMPILER_LAUNCHER=sccache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue