Revert "ci.yml: Don't cache windows build"
This reverts commit 93a9db10b7.
This commit is contained in:
@@ -137,6 +137,14 @@ jobs:
|
|||||||
$vsPath = &"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath
|
$vsPath = &"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath
|
||||||
&"$vsPath\VC\Auxiliary\Build\vcvarsall.bat" x64
|
&"$vsPath\VC\Auxiliary\Build\vcvarsall.bat" x64
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
- name: Cache CMake build directory
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
build
|
||||||
|
key: ${{ runner.os }}-cmake-build-${{ github.sha }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-cmake-build-
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: cmake -B build -DWITH_FFMPEG_JOBS="$env:NUMBER_OF_PROCESSORS"
|
run: cmake -B build -DWITH_FFMPEG_JOBS="$env:NUMBER_OF_PROCESSORS"
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
Reference in New Issue
Block a user