mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-07-20 08:04:28 +08:00
Work on CI support for MingW
This commit is contained in:
parent
585e66b75b
commit
122da7d33d
@ -47,12 +47,13 @@ init:
|
||||
|
||||
install:
|
||||
- cmd: reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
|
||||
- cmd: ren "C:\Program Files\Git\usr\bin\sh.exe" _sh.exe
|
||||
|
||||
build_script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- if [%compiler%]==[msvc] cmake -G"%generator%" ..
|
||||
- if [%compiler%]==[mingw] set PATH=%toolchain%/bin;%PATH:C:\Program Files (x86)\Git\bin;=%
|
||||
- if [%compiler%]==[mingw] set PATH=%toolchain%/bin;%PATH%
|
||||
- if [%compiler%]==[mingw] cmake -G"%generator%" -DCMAKE_SH=CMAKE_SH-NOTFOUND -DCMAKE_PREFIX_PATH=C:\mingw-w64\%toolchain% -DCMAKE_BUILD_TYPE=%configuration% ..
|
||||
- cmake --build . --config %configuration%
|
||||
|
||||
|
@ -212,7 +212,7 @@ inline bool isWow64Proc()
|
||||
bIsWow64 = FALSE;
|
||||
}
|
||||
}
|
||||
return bIsWow64;
|
||||
return bIsWow64 == TRUE;
|
||||
}
|
||||
|
||||
static bool is_symlink_creation_supported()
|
||||
|
Loading…
x
Reference in New Issue
Block a user