Skip to content

Commit

Permalink
Merge pull request #604 from openstudiocoalition/fix_win22
Browse files Browse the repository at this point in the history
Remove ccache on Windows runners
  • Loading branch information
jmarrec authored May 15, 2023
2 parents 7f99d40 + edbb90c commit 99a4d43
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/app_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,13 @@ jobs:
echo "Using chocolatey to install ninja"
choco install ninja
# using ccache fails to build .rc files on Windows
# ccache is installed under chocolatey but `choco uninstall ccache` fails
# setting CCACHE_DISABLE=1 did not work, just remove ccache
echo "Remove ccache if it exists"
rm -f "/c/ProgramData/Chocolatey/bin/ccache" || true
# C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
MSVC_DIR=$(vswhere -products '*' -requires Microsoft.Component.MSBuild -property installationPath -latest)
echo "Latest is: $MSVC_DIR"
Expand Down

0 comments on commit 99a4d43

Please sign in to comment.