-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f466b46
commit 9e8bd70
Showing
9 changed files
with
204 additions
and
79 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,42 @@ | ||
image: Visual Studio 2017 | ||
matrix: | ||
fast_finish: true | ||
clone_depth: 1 | ||
environment: | ||
PATH: 'C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%' | ||
matrix: | ||
- Platform: x64 | ||
CXXFLAGS: --target=x86_64-windows | ||
- Platform: x64_x86 | ||
CXXFLAGS: --target=i386-windows | ||
- Platform: x64_arm64 | ||
CXXFLAGS: --target=arm64-windows | ||
matrix: | ||
allow_failures: | ||
- Platform: x64_arm64 | ||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 | ||
PlatformToolset: v142 | ||
WindowsTargetPlatformVersion: 10.0.17763.0 | ||
queryextents: queryextentsandrefcounts | ||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 | ||
PlatformToolset: v141 | ||
WindowsTargetPlatformVersion: 10.0.14393.0 | ||
queryextents: queryextents | ||
platform: | ||
- x64 | ||
- x86 | ||
- ARM64 | ||
configuration: | ||
- Debug | ||
- Release | ||
for: | ||
- | ||
matrix: | ||
only: | ||
- platform: ARM64 | ||
test: off | ||
build_script: | ||
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %Platform% | ||
- make -B | ||
test: off | ||
- cmd: msbuild /nologo %Project% /verbosity:minimal /p:Platform=%Platform% /p:Configuration=%Configuration% /p:PlatformToolset=%PlatformToolset% /p:WindowsTargetPlatformVersion=%WindowsTargetPlatformVersion% | ||
before_test: | ||
- ps: 'Initialize-Disk -Number (New-VHD -Path C:\test.vhdx -SizeBytes 127GB | Mount-VHD -Passthru).DiskNumber -PartitionStyle MBR -PassThru | New-Partition -UseMaximumSize -DriveLetter D | Format-Volume -FileSystem ReFS -Confirm:$false -Force' | ||
test_script: | ||
- cmd: | | ||
fsutil file createnew D:\test1 10737418240 | ||
fsutil file setvaliddata D:\test1 10737418240 | ||
fsutil file %queryextents% D:\test1 | ||
if "%Platform%"=="x86" (%Configuration%\reflink.exe D:\test1 D:\test2) else (%Platform%\%Configuration%\reflink.exe D:\test1 D:\test2) | ||
fsutil file %queryextents% D:\test1 | ||
fsutil file %queryextents% D:\test2 | ||
dd if=C:\Windows\System32\ntdll.dll of=D:\test2 bs=1M oflag=seek_bytes seek=1G conv=notrunc,fsync | ||
fsutil file %queryextents% D:\test1 | ||
fsutil file %queryextents% D:\test2 | ||
deploy: off |
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
Oops, something went wrong.