mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
Remove now unused CI files / duplicated LICENSE file
This commit is contained in:
parent
09d04945bd
commit
f0a8c569b5
5 changed files with 0 additions and 202 deletions
3
druntime/Jenkinsfile
vendored
3
druntime/Jenkinsfile
vendored
|
@ -1,3 +0,0 @@
|
|||
#!/bin/env groovy
|
||||
library 'dlang'
|
||||
runPipeline()
|
|
@ -1,23 +0,0 @@
|
|||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
|
@ -1,64 +0,0 @@
|
|||
|
||||
os: Visual Studio 2017
|
||||
|
||||
environment:
|
||||
matrix:
|
||||
- D_COMPILER: dmd
|
||||
D_VERSION: 2.079.1
|
||||
|
||||
skip_commits:
|
||||
# Avoid retesting the merged PR on `master` or `stable`
|
||||
message: /^Merge pull request/
|
||||
|
||||
cache:
|
||||
- C:\projects\cache\dmd-2.079.1.7z
|
||||
- C:\projects\cache\VisualD-v0.47.0.exe
|
||||
|
||||
artifacts:
|
||||
|
||||
init:
|
||||
- git config --global core.autocrlf input
|
||||
|
||||
build_script:
|
||||
- cd c:/projects/
|
||||
- if not exist cache\nul md cache
|
||||
|
||||
# Download & extract host D compiler
|
||||
- ps: |
|
||||
$cachefile = 'cache\dmd-' + $Env:D_VERSION + '.7z'
|
||||
If ($Env:D_COMPILER -eq 'dmd') {
|
||||
If (-not (Test-Path $cachefile)) {
|
||||
$downloadlink = 'http://downloads.dlang.org/releases/2.x/' + $Env:D_VERSION + '/dmd.' + $Env:D_VERSION + '.windows.7z'
|
||||
Start-FileDownload $downloadlink -FileName $cachefile
|
||||
}
|
||||
7z x $cachefile > $null
|
||||
} ElseIf ($Env:D_COMPILER -eq 'dmd-nightly') {
|
||||
Start-FileDownload 'http://nightlies.dlang.org/dmd-nightly/dmd.master.windows.7z' -FileName 'dmd2.7z'
|
||||
7z x dmd2.7z > $null
|
||||
}
|
||||
Set-Item -path env:DMD -value c:\projects\dmd2\windows\bin\dmd.exe
|
||||
c:\projects\dmd2\windows\bin\dmd.exe --version
|
||||
- set PATH=%PATH%;c:\projects\dmd2\windows\bin
|
||||
|
||||
# Download & install Visual D
|
||||
- ps: |
|
||||
If (-not (Test-Path 'cache\VisualD-v0.47.0.exe')) {
|
||||
Start-FileDownload 'https://github.com/dlang/visuald/releases/download/v0.47.0/VisualD-v0.47.0.exe' -FileName 'cache\VisualD-v0.47.0.exe'
|
||||
}
|
||||
- cache\VisualD-v0.47.0.exe /S
|
||||
# configure DMD path
|
||||
- reg add "HKLM\SOFTWARE\DMD" /v InstallationFolder /t REG_SZ /d c:\projects /reg:32 /f
|
||||
# disable link dependencies monitoring, fails on AppVeyor server
|
||||
- reg add "HKLM\SOFTWARE\Microsoft\VisualStudio\14.0\ToolsOptionsPages\Projects\Visual D Settings" /v optlinkDeps /t REG_DWORD /d 0 /reg:32 /f
|
||||
|
||||
- git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/dlang/dmd.git dmd
|
||||
|
||||
# - call "c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
|
||||
- call "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||
|
||||
- cd c:\projects\dmd\src
|
||||
- msbuild vcbuild\dmd.sln /m /p:Configuration=Release;Platform=x64
|
||||
- cd c:\projects\druntime
|
||||
- make -f win64.mak DMD=../dmd/generated/Windows/Release/x64/dmd auto-tester-build auto-tester-test
|
||||
|
||||
test_script: true
|
|
@ -1,111 +0,0 @@
|
|||
# Learn more: https://aka.ms/yaml
|
||||
|
||||
variables:
|
||||
VSINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\
|
||||
|
||||
jobs:
|
||||
- job: Windows
|
||||
timeoutInMinutes: 60
|
||||
pool:
|
||||
vmImage: 'windows-2019'
|
||||
variables:
|
||||
D_COMPILER: dmd
|
||||
HOST_DMD_VERSION: LATEST
|
||||
strategy:
|
||||
matrix:
|
||||
x64:
|
||||
OS: Win_64
|
||||
MODEL: 64
|
||||
ARCH: x64
|
||||
x86-OMF:
|
||||
OS: Win_32
|
||||
MODEL: 32omf
|
||||
ARCH: x86
|
||||
steps:
|
||||
- checkout: self
|
||||
fetchDepth: 1
|
||||
- script: set
|
||||
displayName: Print environment variables
|
||||
- script: systeminfo
|
||||
displayName: Print system info
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
sourceFolder: '$(Build.SourcesDirectory)'
|
||||
contents: '**/*'
|
||||
TargetFolder: '$(Build.SourcesDirectory)/../druntime'
|
||||
- bash: |
|
||||
set -ex
|
||||
if [ -z ${SYSTEM_PULLREQUEST_TARGETBRANCH+x} ]; then
|
||||
# no PR
|
||||
DMD_BRANCH="$BUILD_SOURCEBRANCHNAME"
|
||||
elif [ $SYSTEM_PULLREQUEST_ISFORK == False ]; then
|
||||
# PR originating from the official dlang repo
|
||||
DMD_BRANCH="$SYSTEM_PULLREQUEST_SOURCEBRANCH"
|
||||
else
|
||||
# PR from a fork
|
||||
DMD_BRANCH="$SYSTEM_PULLREQUEST_TARGETBRANCH"
|
||||
fi
|
||||
if [ "$DMD_BRANCH" != master ] && [ "$DMD_BRANCH" != stable ] &&
|
||||
! git ls-remote --exit-code --heads "https://github.com/dlang/dmd.git" "$DMD_BRANCH" > /dev/null; then
|
||||
DMD_BRANCH="master"
|
||||
fi
|
||||
git clone --branch "$DMD_BRANCH" --depth 1 https://github.com/dlang/dmd.git ../dmd
|
||||
displayName: Clone DMD repo
|
||||
- script: |
|
||||
call "%VSINSTALLDIR%\VC\Auxiliary\Build\vcvarsall.bat" %ARCH%
|
||||
cd ../dmd && sh --login .azure-pipelines/windows.sh
|
||||
displayName: Build and test
|
||||
|
||||
- job: Windows_VisualD
|
||||
timeoutInMinutes: 60
|
||||
pool:
|
||||
vmImage: 'windows-2019'
|
||||
variables:
|
||||
D_COMPILER: ldc
|
||||
VISUALD_VER: v0.49.0
|
||||
LDC_VERSION: 1.23.0
|
||||
strategy:
|
||||
matrix:
|
||||
x86-mscoff:
|
||||
OS: Win_32
|
||||
MODEL: 32mscoff
|
||||
ARCH: x86
|
||||
x86-mscoff_MinGW:
|
||||
OS: Win_32
|
||||
MODEL: 32mscoff
|
||||
ARCH: x86
|
||||
C_RUNTIME: mingw
|
||||
steps:
|
||||
- checkout: self
|
||||
fetchDepth: 1
|
||||
- script: set
|
||||
displayName: Print environment variables
|
||||
- script: systeminfo
|
||||
displayName: Print system info
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
sourceFolder: '$(Build.SourcesDirectory)'
|
||||
contents: '**/*'
|
||||
TargetFolder: '$(Build.SourcesDirectory)/../druntime'
|
||||
- bash: |
|
||||
set -ex
|
||||
if [ -z ${SYSTEM_PULLREQUEST_TARGETBRANCH+x} ]; then
|
||||
# no PR
|
||||
DMD_BRANCH="$BUILD_SOURCEBRANCHNAME"
|
||||
elif [ $SYSTEM_PULLREQUEST_ISFORK == False ]; then
|
||||
# PR originating from the official dlang repo
|
||||
DMD_BRANCH="$SYSTEM_PULLREQUEST_SOURCEBRANCH"
|
||||
else
|
||||
# PR from a fork
|
||||
DMD_BRANCH="$SYSTEM_PULLREQUEST_TARGETBRANCH"
|
||||
fi
|
||||
if [ "$DMD_BRANCH" != master ] && [ "$DMD_BRANCH" != stable ] &&
|
||||
! git ls-remote --exit-code --heads "https://github.com/dlang/dmd.git" "$DMD_BRANCH" > /dev/null; then
|
||||
DMD_BRANCH="master"
|
||||
fi
|
||||
git clone --branch "$DMD_BRANCH" --depth 1 https://github.com/dlang/dmd.git ../dmd
|
||||
displayName: Clone DMD repo
|
||||
- script: cd ../dmd && sh --login .azure-pipelines/windows-visual-studio.sh
|
||||
displayName: Download required binaries
|
||||
- script: cd ../dmd && call .azure-pipelines/windows-msbuild.bat
|
||||
displayName: Build and test
|
|
@ -499,7 +499,6 @@ else
|
|||
install: target
|
||||
mkdir -p $(INSTALL_DIR)/src/druntime/import
|
||||
cp -r import/* $(INSTALL_DIR)/src/druntime/import/
|
||||
cp LICENSE.txt $(INSTALL_DIR)/druntime-LICENSE.txt
|
||||
endif
|
||||
|
||||
clean: $(addsuffix /.clean,$(ADDITIONAL_TESTS))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue