mirror of
https://github.com/dlang/tools.git
synced 2025-04-25 20:51:00 +03:00
Remove AppVeyor CI
This commit is contained in:
parent
b3bf04683e
commit
71555d564d
1 changed files with 0 additions and 70 deletions
70
appveyor.yml
70
appveyor.yml
|
@ -1,70 +0,0 @@
|
|||
platform: x64
|
||||
environment:
|
||||
matrix:
|
||||
- DC: dmd
|
||||
DVersion: nightly
|
||||
arch: x64
|
||||
MODEL: 64
|
||||
- DC: dmd
|
||||
DVersion: nightly
|
||||
arch: x86
|
||||
MODEL: 32
|
||||
skip_tags: false
|
||||
build_script:
|
||||
- ps: >
|
||||
function ResolveLatestDMD
|
||||
{
|
||||
$version = $env:DVersion;
|
||||
if($version -eq "stable") {
|
||||
$latest = (Invoke-WebRequest "https://downloads.dlang.org/releases/LATEST").toString();
|
||||
$url = "https://downloads.dlang.org/releases/2.x/$($latest)/dmd.$($latest).windows.7z";
|
||||
}elseif($version -eq "beta") {
|
||||
$latest = (Invoke-WebRequest "https://downloads.dlang.org/pre-releases/LATEST").toString();
|
||||
$latestVersion = $latest.split("-")[0].split("~")[0];
|
||||
$url = "https://downloads.dlang.org/pre-releases/2.x/$($latestVersion)/dmd.$($latest).windows.7z";
|
||||
}elseif($version -eq "nightly") {
|
||||
$latest = (Invoke-WebRequest "https://downloads.dlang.org/nightlies/dmd-master/LATEST").toString().replace("`n","").replace("`r","");
|
||||
$url = "https://downloads.dlang.org/nightlies/dmd-$($latest)/dmd.master.windows.7z"
|
||||
}else {
|
||||
$url = "https://downloads.dlang.org/releases/2.x/$($version)/dmd.$($version).windows.7z";
|
||||
}
|
||||
$env:PATH += ";C:\dmd2\windows\bin;";
|
||||
return $url;
|
||||
}
|
||||
function SetUpDCompiler
|
||||
{
|
||||
$env:toolchain = "msvc";
|
||||
echo "downloading ...";
|
||||
$url = ResolveLatestDMD;
|
||||
echo $url;
|
||||
Invoke-WebRequest $url -OutFile "c:\dmd.7z";
|
||||
echo "finished.";
|
||||
pushd c:\\;
|
||||
7z x dmd.7z > $null;
|
||||
popd;
|
||||
}
|
||||
SetUpDCompiler
|
||||
|
||||
if($env:arch -eq "x86"){
|
||||
$env:compilersetupargs = "x86";
|
||||
$env:Darch = "x86";
|
||||
$env:DConf = "m32";
|
||||
}elseif($env:arch -eq "x64"){
|
||||
$env:compilersetupargs = "amd64";
|
||||
$env:Darch = "x86_64";
|
||||
$env:DConf = "m64";
|
||||
}
|
||||
# This needs to be done more generically (currently only works on AppVeyor)
|
||||
$env:compilersetup = "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall";
|
||||
|
||||
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %compilersetupargs%
|
||||
|
||||
test_script:
|
||||
- echo %PLATFORM%
|
||||
- echo %Darch%
|
||||
- echo %DC%
|
||||
- echo %PATH%
|
||||
- '%DC% --version'
|
||||
- choco install make
|
||||
- make -j3 DMD=%DC% "DFLAGS=-m%MODEL% -g" rdmd dustmite ddemangle changed
|
||||
- make -j3 DMD=%DC% "DFLAGS=-m%MODEL% -g" test
|
Loading…
Add table
Add a link
Reference in a new issue