Test x86-64 on Windows
This commit is contained in:
parent
508297f36f
commit
b723d763c8
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
# Binary
|
# Binary
|
||||||
*.[oa]
|
*.[oa]
|
||||||
|
*.exe
|
||||||
|
|
||||||
# D
|
# D
|
||||||
.dub
|
.dub
|
||||||
@ -9,3 +10,5 @@ __test__*__.core
|
|||||||
|
|
||||||
/docs/
|
/docs/
|
||||||
/docs.json
|
/docs.json
|
||||||
|
|
||||||
|
/*.lst
|
||||||
|
84
appveyor.yml
84
appveyor.yml
@ -1,52 +1,72 @@
|
|||||||
platform: x64
|
platform: x64
|
||||||
os: Visual Studio 2017
|
os: Visual Studio 2015
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- DC: dmd
|
- DC: dmd
|
||||||
DVersion: 2.074.1
|
DVersion: 2.074.1
|
||||||
arch: x86
|
arch: x64
|
||||||
- DC: dmd
|
- DC: dmd
|
||||||
DVersion: 2.073.2
|
DVersion: 2.074.1
|
||||||
arch: x86
|
arch: x86
|
||||||
- DC: dmd
|
- DC: dmd
|
||||||
DVersion: 2.072.2
|
DVersion: 2.073.2
|
||||||
arch: x86
|
arch: x64
|
||||||
- DC: dmd
|
- DC: dmd
|
||||||
DVersion: 2.071.2
|
DVersion: 2.073.2
|
||||||
arch: x86
|
arch: x86
|
||||||
|
- DC: dmd
|
||||||
|
DVersion: 2.072.2
|
||||||
|
arch: x64
|
||||||
|
- DC: dmd
|
||||||
|
DVersion: 2.072.2
|
||||||
|
arch: x86
|
||||||
|
- DC: dmd
|
||||||
|
DVersion: 2.071.2
|
||||||
|
arch: x64
|
||||||
|
- DC: dmd
|
||||||
|
DVersion: 2.071.2
|
||||||
|
arch: x86
|
||||||
|
|
||||||
skip_tags: true
|
skip_tags: true
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- ps: function SetUpDCompiler
|
- ps: function SetUpDCompiler
|
||||||
{
|
{
|
||||||
$env:toolchain = "msvc";
|
$env:toolchain = "msvc";
|
||||||
$version = $env:DVersion;
|
$version = $env:DVersion;
|
||||||
Invoke-WebRequest "http://downloads.dlang.org/releases/2.x/$($version)/dmd.$($version).windows.7z" -OutFile "c:\dmd.7z";
|
Invoke-WebRequest "http://downloads.dlang.org/releases/2.x/$($version)/dmd.$($version).windows.7z" -OutFile "c:\dmd.7z";
|
||||||
echo "finished.";
|
echo "finished.";
|
||||||
pushd c:\\;
|
pushd c:\\;
|
||||||
7z x dmd.7z > $null;
|
7z x dmd.7z > $null;
|
||||||
popd;
|
popd;
|
||||||
}
|
}
|
||||||
- ps: SetUpDCompiler
|
- ps: SetUpDCompiler
|
||||||
|
|
||||||
- ps: if($env:DVersion -eq "2.071.2"){
|
- ps: if($env:DVersion -eq "2.071.2"){
|
||||||
Invoke-WebRequest "http://code.dlang.org/files/dub-1.2.1-windows-x86.zip" -OutFile "dub.zip";
|
Invoke-WebRequest "http://code.dlang.org/files/dub-1.2.1-windows-x86.zip" -OutFile "dub.zip";
|
||||||
7z x dub.zip -odub > $null;
|
7z x dub.zip -odub > $null;
|
||||||
Move-Item "dub/dub.exe" "C:\dmd2\windows\bin"
|
Move-Item "dub/dub.exe" "C:\dmd2\windows\bin"
|
||||||
}
|
}
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
|
- ps: if($env:arch -eq "x86"){
|
||||||
|
$env:compilersetupargs = "x86";
|
||||||
|
$env:Darch = "x86";
|
||||||
|
}
|
||||||
|
elseif($env:arch -eq "x64"){
|
||||||
|
$env:compilersetupargs = "amd64";
|
||||||
|
$env:Darch = "x86_64";
|
||||||
|
}
|
||||||
- ps: $env:PATH += ";C:\dmd2\windows\bin;";
|
- ps: $env:PATH += ";C:\dmd2\windows\bin;";
|
||||||
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat" -arch=%arch%
|
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall" %compilersetupargs%
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- echo dummy build script - dont remove me
|
- echo dummy build script - dont remove me
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- echo %DC%
|
- echo %Darch%
|
||||||
- echo %PATH%
|
- echo %PATH%
|
||||||
- 'dub --version'
|
- 'dub --version'
|
||||||
- '%DC% --version'
|
- '%DC% --version'
|
||||||
- dub test --arch=x86 --compiler=%DC%
|
- dub test -b unittest --arch=%Darch% --compiler=%DC%
|
||||||
|
3
codecov.yml
Normal file
3
codecov.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
ignore:
|
||||||
|
- "source/tanya/async/event/iocp.d"
|
||||||
|
- "source/tanya/async/iocp.d"
|
Loading…
x
Reference in New Issue
Block a user