-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Perfected vcpkg caching by the GH workflow
- Loading branch information
Showing
76 changed files
with
117 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,6 @@ | |
/tests/*.exe | ||
/tests/_* | ||
|
||
/vcpkg | ||
|
||
/Debug-* | ||
/Release-* | ||
/ipch | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1 @@ | ||
@echo off | ||
|
||
REM | Manually compare our custom overlay ports with the latest vcpkg ports from GitHub | ||
|
||
set vcpkg_dir=%~dp0vcpkg\latest | ||
mkdir "%vcpkg_dir%" > nul 2> nul | ||
|
||
if exist "%vcpkg_dir%\.gitignore" ( | ||
pushd "%vcpkg_dir%" | ||
echo Pulling latest vcpkg.git . . .&& echo. | ||
git pull --verbose || exit /b !errorlevel! | ||
popd | ||
) else ( | ||
pushd "%vcpkg_dir%\.." | ||
git clone https://github.com/Microsoft/vcpkg.git "%vcpkg_dir%" || exit /b !errorlevel! | ||
popd | ||
) | ||
|
||
echo. | ||
|
||
for /d %%d in (%~dp0\vcpkg_overlay_ports\*) do ( | ||
echo Comparing %%~nxd . . . | ||
"%ProgramFiles%\WinMerge\WinMergeU.exe" "%vcpkg_dir%\ports\%%~nxd" "%~dp0\vcpkg_overlay_ports\%%~nxd" | ||
) | ||
|
||
echo Comparing triplets . . . | ||
"%ProgramFiles%\WinMerge\WinMergeU.exe" "%vcpkg_dir%\triplets\community" "%~dp0\vcpkg_overlay_triplets" | ||
@call "%~dp0vcpkg\compare_overlays.bat" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/archives/ | ||
/clone/ | ||
/latest/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
@echo off | ||
|
||
call :clean | ||
call :clean | ||
call :clean | ||
exit /b | ||
|
||
|
||
:clean | ||
echo. | ||
pushd "%~dp0" | ||
|
||
rd /q /s archives | ||
rd /q /s clone | ||
rd /q /s latest | ||
|
||
popd | ||
exit /b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
@echo off | ||
|
||
REM | Manually compare our custom overlay ports with the latest vcpkg ports from GitHub | ||
|
||
set vcpkg_dir=%~dp0latest | ||
mkdir "%vcpkg_dir%" > nul 2> nul | ||
|
||
if exist "%vcpkg_dir%\.gitignore" ( | ||
pushd "%vcpkg_dir%" | ||
echo Pulling latest vcpkg.git . . .&& echo. | ||
git pull --verbose || exit /b !errorlevel! | ||
popd | ||
) else ( | ||
pushd "%vcpkg_dir%\.." | ||
git clone https://github.com/Microsoft/vcpkg.git "%vcpkg_dir%" || exit /b !errorlevel! | ||
popd | ||
) | ||
|
||
echo. | ||
|
||
for /d %%d in (%~dp0\overlay_ports\*) do ( | ||
echo Comparing %%~nxd . . . | ||
"%ProgramFiles%\WinMerge\WinMergeU.exe" "%vcpkg_dir%\ports\%%~nxd" "%~dp0\overlay_ports\%%~nxd" | ||
) | ||
|
||
echo Comparing triplets . . . | ||
"%ProgramFiles%\WinMerge\WinMergeU.exe" "%vcpkg_dir%\triplets\community" "%~dp0\overlay_triplets" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters